[POWERPC] EEH: log all PCI-X and PCI-E AER registers
authorLinas Vepstas <linas@austin.ibm.com>
Tue, 8 May 2007 23:36:21 +0000 (09:36 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 9 May 2007 06:35:01 +0000 (16:35 +1000)
commitfcf9892b553ba638e6c8f9b6a140c99927c69693
tree5855a4cca38bd27c8e13a29e56e2443c08dbf68d
parentd99bb1db798f49eacb27e087da7e62433361174d
[POWERPC] EEH: log all PCI-X and PCI-E AER registers

When an EEH event is detected, and after the device driver
has been notified, but before the device is reset, enable
MMIO to the adapter, and grab the contents of the PCI status
and command registers, the PCI-X status and command, and the
PCI-E capability 10 and AER registers. Pass these up to the
RTAS error log, and also printk them.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/eeh.c