summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorSam Bobroff2018-05-25 05:11:39 +0200
committerMichael Ellerman2018-06-03 12:43:41 +0200
commit665012c5734b0f2123dfb4b2bdd44c3344647b9a (patch)
tree6bfbf954ef2a77aa7663a986ba606c90f643c87d /security
parentpowerpc/eeh: Introduce eeh_set_irq_state() (diff)
downloadkernel-qcow2-linux-665012c5734b0f2123dfb4b2bdd44c3344647b9a.tar.gz
kernel-qcow2-linux-665012c5734b0f2123dfb4b2bdd44c3344647b9a.tar.xz
kernel-qcow2-linux-665012c5734b0f2123dfb4b2bdd44c3344647b9a.zip
powerpc/eeh: Cleaner handling of EEH_DEV_NO_HANDLER
If a device without a driver is recovered via EEH, the flag EEH_DEV_NO_HANDLER is incorrectly left set on the device after recovery, because the test in eeh_report_resume() for the existence of a bound driver is done before the flag is cleared. If a driver is later bound, and EEH experienced again, some of the drivers EEH handers are not called. To correct this, clear the flag unconditionally after EEH processing is complete. Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions