diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2015-10-08 14:58:53 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-10-21 20:39:07 +1100 |
commit | f2da4ccf8bd46d3ab0fac383decf5616ad362c17 (patch) | |
tree | c1b9490c3253c76a813db368ae2068b34ef51b1a /drivers | |
parent | 527d10ef3a315d3cb9dc098dacd61889a6c26439 (diff) |
powerpc/eeh: More relaxed hotplug criterion
Currently, we rely on the existence of struct pci_driver::err_handler
to decide if the corresponding PCI device should be unplugged during
EEH recovery (partially hotplug case). However that check is not
sufficient. Some device drivers implement only some of the EEH error
handlers to collect diag-data. That means the driver still expects a
hotplug to recover from the EEH error.
This makes the hotplug criterion more relaxed: if the device driver
doesn't provide all necessary EEH error handlers, it will experience
hotplug during EEH recovery.
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
[mpe: Minor change log rewording]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions