diff options
author | Linas Vepstas <linas@linas.org> | 2005-11-03 19:52:49 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-09 23:28:32 -0500 |
commit | 77bd741561016134d1761d6101c4f0361025062f (patch) | |
tree | 5e3389b6941add4b24a2be64c730b7a9087c1f2f /include/asm-powerpc/ppc-pci.h | |
parent | 977127174a7dff52d17faeeb4c4949a54221881f (diff) |
[PATCH] powerpc: PCI Error Recovery: PPC64 core recovery routines
Various PCI bus errors can be signaled by newer PCI controllers. The
core error recovery routines are architecture dependent. This patch adds
a recovery infrastructure for the PPC64 pSeries systems.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
(cherry picked from e8ca11b460c4c9c7fa6b529be221529ebd770e38 commit)
Diffstat (limited to 'include/asm-powerpc/ppc-pci.h')
-rw-r--r-- | include/asm-powerpc/ppc-pci.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-powerpc/ppc-pci.h b/include/asm-powerpc/ppc-pci.h index bdef312900a1..caf67a3bcb78 100644 --- a/include/asm-powerpc/ppc-pci.h +++ b/include/asm-powerpc/ppc-pci.h | |||
@@ -53,6 +53,15 @@ extern unsigned long pci_probe_only; | |||
53 | /* ---- EEH internal-use-only related routines ---- */ | 53 | /* ---- EEH internal-use-only related routines ---- */ |
54 | #ifdef CONFIG_EEH | 54 | #ifdef CONFIG_EEH |
55 | /** | 55 | /** |
56 | * eeh_slot_error_detail -- record and EEH error condition to the log | ||
57 | * @severity: 1 if temporary, 2 if permanent failure. | ||
58 | * | ||
59 | * Obtains the the EEH error details from the RTAS subsystem, | ||
60 | * and then logs these details with the RTAS error log system. | ||
61 | */ | ||
62 | void eeh_slot_error_detail (struct pci_dn *pdn, int severity); | ||
63 | |||
64 | /** | ||
56 | * rtas_set_slot_reset -- unfreeze a frozen slot | 65 | * rtas_set_slot_reset -- unfreeze a frozen slot |
57 | * | 66 | * |
58 | * Clear the EEH-frozen condition on a slot. This routine | 67 | * Clear the EEH-frozen condition on a slot. This routine |