Commit 70f942db authored by Gavin Shan's avatar Gavin Shan Committed by Benjamin Herrenschmidt

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: default avatarGavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent bf90dfea
This diff is collapsed.
...@@ -93,6 +93,7 @@ struct pnv_phb { ...@@ -93,6 +93,7 @@ struct pnv_phb {
#ifdef CONFIG_EEH #ifdef CONFIG_EEH
struct pnv_eeh_ops *eeh_ops; struct pnv_eeh_ops *eeh_ops;
int eeh_enabled; int eeh_enabled;
int removed;
#endif #endif
#ifdef CONFIG_PCI_MSI #ifdef CONFIG_PCI_MSI
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment