diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2012-02-27 15:04:00 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-03-08 19:11:01 -0500 |
commit | 8d633291b4fc0539ecad31f972447104be6953ec (patch) | |
tree | 7be9e4d58a8289ba843e632974873bead839a458 /arch/powerpc/include/asm/ppc-pci.h | |
parent | 2652481f75186940c4608f68c9fd76b32ec9b159 (diff) |
powerpc/eeh: pseries platform EEH error log retrieval
On RTAS compliant pSeries platform, one dedicated RTAS call has
been introduced to retrieve EEH temporary or permanent error log.
The patch implements the function of retriving EEH error log through
RTAS call. Besides, it has been abstracted by struct eeh_ops::get_log
so that EEH core components could support multiple platforms in future.
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/ppc-pci.h')
-rw-r--r-- | arch/powerpc/include/asm/ppc-pci.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/ppc-pci.h b/arch/powerpc/include/asm/ppc-pci.h index 1cfb2b09bbd9..bd1a84f65292 100644 --- a/arch/powerpc/include/asm/ppc-pci.h +++ b/arch/powerpc/include/asm/ppc-pci.h | |||
@@ -53,8 +53,6 @@ void pci_addr_cache_insert_device(struct pci_dev *dev); | |||
53 | void pci_addr_cache_remove_device(struct pci_dev *dev); | 53 | void pci_addr_cache_remove_device(struct pci_dev *dev); |
54 | void pci_addr_cache_build(void); | 54 | void pci_addr_cache_build(void); |
55 | struct pci_dev *pci_get_device_by_addr(unsigned long addr); | 55 | struct pci_dev *pci_get_device_by_addr(unsigned long addr); |
56 | #define EEH_LOG_TEMP_FAILURE 1 | ||
57 | #define EEH_LOG_PERM_FAILURE 2 | ||
58 | void eeh_slot_error_detail (struct pci_dn *pdn, int severity); | 56 | void eeh_slot_error_detail (struct pci_dn *pdn, int severity); |
59 | int eeh_pci_enable(struct pci_dn *pdn, int function); | 57 | int eeh_pci_enable(struct pci_dn *pdn, int function); |
60 | int eeh_reset_pe(struct pci_dn *); | 58 | int eeh_reset_pe(struct pci_dn *); |