发明名称 DEVICE TABLE IN SYSTEM MEMORY
摘要 Embodiments relate to an implementation of a device table in system memory to which a peripheral component interface (PCI) adapter is coupled via a host bridge. An aspect includes an access of the device table in the system memory by a switch coupled to the host bridge, management of a device table entry (DTE) cache in the host bridge for coherency for DTE configuration changes and maintenance of a usage count and an in-use count in the host bridge for each cached DTE.
申请公布号 US2016179720(A1) 申请公布日期 2016.06.23
申请号 US201615067895 申请日期 2016.03.11
申请人 International Business Machines Corporation 发明人 Craddock David F.;Gregg Thomas A.;Lais Eric N.
分类号 G06F13/28;G06F13/42;G06F13/40;G06F12/08 主分类号 G06F13/28
代理机构 代理人
主权项 1. A method for implementing a device table in system memory to which a peripheral component interface (PCI) adapter is coupled via a host bridge, the method comprising: accessing the device table in the system memory by the host bridge; managing a device table entry (DTE) cache in the host bridge for coherency for DTE configuration changes; and maintaining a usage count and an in-use count in the host bridge for each cached DTE, wherein: the maintaining of the usage count comprises including one or more usage counters in the host bridge for association with a given PCI function and a corresponding DTE to be incremented by the host bridge as direct memory access (DMA) read or write requests are processed, the maintaining of the in-use count comprises including an in-use count in a DTE to be incremented and decremented when address translation (AT) fetches are issued and returned, respectively, the method further comprising: updating a DTE in the device table in the system memory and flushing a corresponding DTE of the DTE cache in the host bridge for a PCI instruction and synchronizing the PCI instruction with the flushing of the DTE; updating error state bits in the device table in the system memory and the DTE cache; and load response handling comprising blocking by the host bridge of all load responses based on a DTE being in an error state, blocking by the processor of all load responses based on a DTE being in an error state and receiving an indication to check by the host bridge, checking by the host bridge of the error state in the DTE cache based on the DTE for a load response being cached and clearing an error state in the DTE
地址 Armonk NY US