summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/pci.h
diff options
context:
space:
mode:
authorGavin Shan <shangw@linux.vnet.ibm.com>2013-06-20 07:21:12 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-06-20 09:06:40 +0200
commit70f942db4669c4417b7bb4f3353b3eddf1179aae (patch)
tree73f2b88c1b8932ef5930114e179724e92133a449 /arch/powerpc/platforms/powernv/pci.h
parentpowerpc/eeh: I/O chip PE log and bridge setup (diff)
downloadlinux-70f942db4669c4417b7bb4f3353b3eddf1179aae.tar.xz
linux-70f942db4669c4417b7bb4f3353b3eddf1179aae.zip
powerpc/eeh: I/O chip next error
The patch implements the backend for EEH core to retrieve next EEH error to handle. For the informational errors, we won't bother the EEH core. Otherwise, the EEH should take appropriate actions depending on the return value: 0 - No further errors detected 1 - Frozen PE 2 - Fenced PHB 3 - Dead PHB 4 - Dead IOC Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to '')
-rw-r--r--arch/powerpc/platforms/powernv/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powernv/pci.h b/arch/powerpc/platforms/powernv/pci.h
index 336c9dc1b314..3656a2409e9a 100644
--- a/arch/powerpc/platforms/powernv/pci.h
+++ b/arch/powerpc/platforms/powernv/pci.h
@@ -93,6 +93,7 @@ struct pnv_phb {
#ifdef CONFIG_EEH
struct pnv_eeh_ops *eeh_ops;
int eeh_enabled;
+ int removed;
#endif
#ifdef CONFIG_PCI_MSI