Skip to content

Commit

Permalink
[POWERPC] EEH: hotplug recovery bugfix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linas Vepstas authored and Paul Mackerras committed Mar 22, 2007
1 parent 147d6a3 commit 90fdd61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/powerpc/platforms/pseries/eeh_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 90fdd61

Please sign in to comment.