]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/eeh: Trace PCI bus from PE
authorGavin Shan <shangw@linux.vnet.ibm.com>
Thu, 20 Jun 2013 05:20:55 +0000 (13:20 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 07:05:45 +0000 (17:05 +1000)
commit8cdb283371241d298332c44d7c722e26d9858ec1
treef29eb2df0faa05409bf4ca01acc830d4c34f3e01
parent01566808547b7ecc5017a741d50dead9e53f86fa
powerpc/eeh: Trace PCI bus from PE

There're several types of PEs can be supported for now: PHB, Bus
and Device dependent PE. For PCI bus dependent PE, tracing the
corresponding PCI bus from PE (struct eeh_pe) would make the code
more efficient. The patch also enables the retrieval of PCI bus based
on the PCI bus dependent PE.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/eeh.h
arch/powerpc/kernel/eeh_pe.c