]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] EEH: hotplug recovery bugfix
authorLinas Vepstas <linas@austin.ibm.com>
Mon, 19 Mar 2007 19:55:10 +0000 (14:55 -0500)
committerPaul Mackerras <paulus@samba.org>
Thu, 22 Mar 2007 11:52:52 +0000 (22:52 +1100)
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>
arch/powerpc/platforms/pseries/eeh_driver.c

index 550fad2199adf998fa0d0bd371fedf5a19c680e9..d73c297b0234b5e750401d22975ceb383d59a03d 100644 (file)
@@ -438,7 +438,8 @@ struct pci_dn * handle_eeh_events (struct eeh_event *event)
        }
 
        /* All devices should claim they have recovered by now. */
-       if (result != PCI_ERS_RESULT_RECOVERED) {
+       if ((result != PCI_ERS_RESULT_RECOVERED) &&
+           (result != PCI_ERS_RESULT_NONE)) {
                printk(KERN_WARNING "EEH: Not recovered\n");
                goto hard_fail;
        }