diff options
| author | Sam Bobroff <sbobroff@linux.ibm.com> | 2018-05-25 13:11:39 +1000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-06-03 20:43:41 +1000 |
| commit | 665012c5734b0f2123dfb4b2bdd44c3344647b9a (patch) | |
| tree | 6bfbf954ef2a77aa7663a986ba606c90f643c87d /arch/powerpc/include/asm/processor.h | |
| parent | powerpc/eeh: Introduce eeh_set_irq_state() (diff) | |
| download | linux-665012c5734b0f2123dfb4b2bdd44c3344647b9a.tar.gz 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 'arch/powerpc/include/asm/processor.h')
0 files changed, 0 insertions, 0 deletions
