diff options
author | Linas Vepstas <linas@austin.ibm.com> | 2007-05-23 13:20:51 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-14 08:29:55 -0400 |
commit | 858955bd572f0ca38b258e45c7dd743b9e44b04e (patch) | |
tree | f24ee25bc6e65c394c294e01cfffe6ba87cf46b3 /include/asm-powerpc/pci-bridge.h | |
parent | e1d04c9769398ae7df8c7ca2681b25f540b719d5 (diff) |
[POWERPC] Show EEH per-device false positives
Track and report the number of times we read an all-1s value (0xff,
0xffff or 0xffffffff) from each device which is valid data, not
indicating EEH isolation.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
----
arch/powerpc/platforms/pseries/eeh.c | 5 +++++
arch/powerpc/platforms/pseries/eeh_sysfs.c | 3 +++
include/asm-powerpc/pci-bridge.h | 1 +
3 files changed, 9 insertions(+)
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/pci-bridge.h')
-rw-r--r-- | include/asm-powerpc/pci-bridge.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-powerpc/pci-bridge.h b/include/asm-powerpc/pci-bridge.h index 11537a07ca70..c49ce41cfa95 100644 --- a/include/asm-powerpc/pci-bridge.h +++ b/include/asm-powerpc/pci-bridge.h | |||
@@ -83,6 +83,7 @@ struct pci_dn { | |||
83 | int eeh_pe_config_addr; /* new-style partition endpoint address */ | 83 | int eeh_pe_config_addr; /* new-style partition endpoint address */ |
84 | int eeh_check_count; /* # times driver ignored error */ | 84 | int eeh_check_count; /* # times driver ignored error */ |
85 | int eeh_freeze_count; /* # times this device froze up. */ | 85 | int eeh_freeze_count; /* # times this device froze up. */ |
86 | int eeh_false_positives; /* # times this device reported #ff's */ | ||
86 | u32 config_space[16]; /* saved PCI config space */ | 87 | u32 config_space[16]; /* saved PCI config space */ |
87 | #endif | 88 | #endif |
88 | }; | 89 | }; |