发明名称 Method, computer system, and apparatus for accessing peripheral component interconnect express endpoint device
摘要 Embodiments of the present invention relate to a peripheral component interconnect express endpoint device accessing method, a computer system, and an apparatus. A state of an access request sent by a processor is monitored, and a simulation response message for the access request is sent to the processor when it is determined that the PCIe endpoint device sends no response message for the access request. Therefore, according to the simulation response message, the processor can confirm completion of the procedure corresponding to the previously sent access request, and shut down a timer for timing the access request and clear the buffered access request, thereby keeping normal processing in the processor and avoiding the MCE resetting problem that arises from accumulation of access requests in the processor.
申请公布号 US9323635(B2) 申请公布日期 2016.04.26
申请号 US201514706667 申请日期 2015.05.07
申请人 Huawei Technologies Co., Ltd. 发明人 Ge Xiaoyu
分类号 G06F11/30;G06F13/10;G06F13/42;G06F11/00 主分类号 G06F11/30
代理机构 Leydig, Voit & Mayer, Ltd. 代理人 Leydig, Voit & Mayer, Ltd.
主权项 1. A computer, comprising: a processor; a peripheral component interconnect express (PCIe) bus for connecting a PCIe endpoint device with the processor; and circuitries forming a simulation response module, set in a transmission path between the processor and the PCIe endpoint device, wherein the processor is configured to send an access request to the PCIe endpoint device in response to an operation instruction for accessing the PCIe endpoint device; and the simulation response module is configured to: buffer the access request and forward the access request to the PCIe endpoint device; if a response message for the buffered access request is received from the PCIe endpoint device, affix a finished flag to the buffered access request or delete the buffered access request; otherwise, determine a state of the buffered access request by querying the buffered access request when a preset triggering condition is met, obtain a simulation response message for the buffered access request when it is determined that the state of the buffered access request is unfinished, and send the simulation response message to the processor, wherein when the buffered access request is affixed with an unfinished flag or the buffered access request has no flag indicating the state is finished, the state of the buffered access request is determined as unfinished.
地址 Shenzhen CN