]> git.hungrycats.org Git - linux/commit
[PATCH] ppc64: test for EEH error in PCI Config-Read path
authorPaul Mackerras <paulus@samba.org>
Fri, 3 Sep 2004 03:22:31 +0000 (20:22 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 3 Sep 2004 03:22:31 +0000 (20:22 -0700)
commit0e475b4bea0f905db972eb53a33e46484a4a3f34
tree6ff7d3e770130a8e2d3ff572b75f04c4d399e027
parent88399f1230887d773ccb77d3c89d0380d432e57b
[PATCH] ppc64: test for EEH error in PCI Config-Read path

This patch adds explicit checking for EEH slot isolation events into the
PCI config space read path.  The change itself would have been minor,
except that pci config reads don't have a pointer to a struct pci_dev.
Thus, I had to restructure the eeh code to accomodate this, which seems to
be a good thing anyway, making it a tad cleaner.

Signed-off-by: Linas Vepstas <linas@linas.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/eeh.c
arch/ppc64/kernel/pSeries_pci.c
include/asm-ppc64/eeh.h