[PATCH] powerpc: Don't continue with PCI Error recovery if slot reset failed.
commitb6495c0c8f100b882d85774f44529519befefba9
authorLinas Vepstas <linas@linas.org>
Fri, 4 Nov 2005 00:54:54 +0000 (3 18:54 -0600)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Jan 2006 04:30:14 +0000 (10 15:30 +1100)
treeec38027b7e7e50ffbe843a5333fbf95456bc1cf5
parent21e464dd7c943c984dcccd9aff8c9f6a5ea920d7
[PATCH] powerpc: Don't continue with PCI Error recovery if slot reset failed.

238-eeh-stop-if-reset_failed.patch

If the firmware is unable to reset the PCI slot for some reason, then
don't attempt any further recovery steps after that point.  Instead,
mark the device as permanently failed.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
(cherry picked from e06b942521eb2cdaf232726f45a820d5837acb12 commit)
arch/powerpc/platforms/pseries/eeh.c
arch/powerpc/platforms/pseries/eeh_driver.c
include/asm-powerpc/ppc-pci.h