diff options
author | Linas Vepstas <linas@austin.ibm.com> | 2007-03-19 15:55:10 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-03-22 07:52:52 -0400 |
commit | 90fdd6130f5c0053c48e8c8e247091739b6e4092 (patch) | |
tree | d01ded9ab0508111400e4bd3e5776cdfb044d354 /arch | |
parent | 147d6a37500348b6bda5738453d84c46678209cf (diff) |
[POWERPC] EEH: hotplug recovery bugfix
If a device driver does not have native PCI error recovery,
a hotplug error recovery will be attemped. In this case,
the device driver will not report back whether its healthy
or not; simply assume that it is.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/pseries/eeh_driver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh_driver.c b/arch/powerpc/platforms/pseries/eeh_driver.c index 550fad2199ad..d73c297b0234 100644 --- a/arch/powerpc/platforms/pseries/eeh_driver.c +++ b/arch/powerpc/platforms/pseries/eeh_driver.c | |||
@@ -438,7 +438,8 @@ struct pci_dn * handle_eeh_events (struct eeh_event *event) | |||
438 | } | 438 | } |
439 | 439 | ||
440 | /* All devices should claim they have recovered by now. */ | 440 | /* All devices should claim they have recovered by now. */ |
441 | if (result != PCI_ERS_RESULT_RECOVERED) { | 441 | if ((result != PCI_ERS_RESULT_RECOVERED) && |
442 | (result != PCI_ERS_RESULT_NONE)) { | ||
442 | printk(KERN_WARNING "EEH: Not recovered\n"); | 443 | printk(KERN_WARNING "EEH: Not recovered\n"); |
443 | goto hard_fail; | 444 | goto hard_fail; |
444 | } | 445 | } |