aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorGavin Shan <shangw@linux.vnet.ibm.com>2012-09-07 18:44:19 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-09-09 19:35:43 -0400
commit9b3c76f08122f5efdbe4992a64b8478cc92dd983 (patch)
treec5e668d39e96971e404c16a155e6a40cd5f62400 /arch/powerpc/include/asm
parent120dc496617eb7105d577c6041cbc052ffb1d8c7 (diff)
powerpc/eeh: Handle EEH error based on PE
The patch reworks the current implementation so that the eeh errors will be handled basing on PE instead of eeh device. 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/asm')
-rw-r--r--arch/powerpc/include/asm/eeh.h1
-rw-r--r--arch/powerpc/include/asm/eeh_event.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/eeh.h b/arch/powerpc/include/asm/eeh.h
index 629fb27c093e..d25a693595f8 100644
--- a/arch/powerpc/include/asm/eeh.h
+++ b/arch/powerpc/include/asm/eeh.h
@@ -174,6 +174,7 @@ int eeh_rmv_from_parent_pe(struct eeh_dev *edev);
174void *eeh_pe_dev_traverse(struct eeh_pe *root, 174void *eeh_pe_dev_traverse(struct eeh_pe *root,
175 eeh_traverse_func fn, void *flag); 175 eeh_traverse_func fn, void *flag);
176void eeh_pe_restore_bars(struct eeh_pe *pe); 176void eeh_pe_restore_bars(struct eeh_pe *pe);
177struct pci_bus *eeh_pe_bus_get(struct eeh_pe *pe);
177 178
178void * __devinit eeh_dev_init(struct device_node *dn, void *data); 179void * __devinit eeh_dev_init(struct device_node *dn, void *data);
179void __devinit eeh_dev_phb_init_dynamic(struct pci_controller *phb); 180void __devinit eeh_dev_phb_init_dynamic(struct pci_controller *phb);
diff --git a/arch/powerpc/include/asm/eeh_event.h b/arch/powerpc/include/asm/eeh_event.h
index dc722b58216c..de67d830151b 100644
--- a/arch/powerpc/include/asm/eeh_event.h
+++ b/arch/powerpc/include/asm/eeh_event.h
@@ -32,7 +32,7 @@ struct eeh_event {
32}; 32};
33 33
34int eeh_send_failure_event(struct eeh_pe *pe); 34int eeh_send_failure_event(struct eeh_pe *pe);
35struct eeh_dev *handle_eeh_events(struct eeh_event *); 35void eeh_handle_event(struct eeh_pe *pe);
36 36
37#endif /* __KERNEL__ */ 37#endif /* __KERNEL__ */
38#endif /* ASM_POWERPC_EEH_EVENT_H */ 38#endif /* ASM_POWERPC_EEH_EVENT_H */