aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorGavin Shan <shangw@linux.vnet.ibm.com>2013-06-20 01:20:55 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-06-20 03:05:45 -0400
commit8cdb283371241d298332c44d7c722e26d9858ec1 (patch)
treef29eb2df0faa05409bf4ca01acc830d4c34f3e01 /arch/powerpc/include
parent01566808547b7ecc5017a741d50dead9e53f86fa (diff)
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>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/eeh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/eeh.h b/arch/powerpc/include/asm/eeh.h
index acdfcaaf5c36..f3b49d6d5259 100644
--- a/arch/powerpc/include/asm/eeh.h
+++ b/arch/powerpc/include/asm/eeh.h
@@ -59,6 +59,7 @@ struct eeh_pe {
59 int config_addr; /* Traditional PCI address */ 59 int config_addr; /* Traditional PCI address */
60 int addr; /* PE configuration address */ 60 int addr; /* PE configuration address */
61 struct pci_controller *phb; /* Associated PHB */ 61 struct pci_controller *phb; /* Associated PHB */
62 struct pci_bus *bus; /* Top PCI bus for bus PE */
62 int check_count; /* Times of ignored error */ 63 int check_count; /* Times of ignored error */
63 int freeze_count; /* Times of froze up */ 64 int freeze_count; /* Times of froze up */
64 int false_positives; /* Times of reported #ff's */ 65 int false_positives; /* Times of reported #ff's */