Commit 90fdd613 authored by Linas Vepstas's avatar Linas Vepstas Committed by Paul Mackerras

[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: default avatarLinas Vepstas <linas@austin.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 147d6a37
...@@ -438,7 +438,8 @@ struct pci_dn * handle_eeh_events (struct eeh_event *event) ...@@ -438,7 +438,8 @@ struct pci_dn * handle_eeh_events (struct eeh_event *event)
} }
/* All devices should claim they have recovered by now. */ /* 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"); printk(KERN_WARNING "EEH: Not recovered\n");
goto hard_fail; goto hard_fail;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment