[PATCH 0/3] EEH fixes 4
Sam Bobroff
sbobroff at linux.ibm.com
Fri Aug 2 16:32:44 AEST 2019
Hello Everyone,
Here are three small fixes to the upper level EEH code: two small cleanups
and a fix for a crash when PCI device removal races with EEH recovery.
(They are based on my last (unnamed) set of EEH fixes, which are not yet
upstream, but they should apply fairly easily without them if necessary.)
For the crash fix, I did consider holding the pci_rescan_remove lock for the
whole recovery phase but I was afraid that a driver may block for a long time
(I've seen five minutes) or even crash and leave the lock held forever.
Cheers,
Sam.
Sam Bobroff (3):
powerpc/eeh: Slightly simplify eeh_add_to_parent_pe()
powerpc/eeh: Remove unused return path from eeh_pe_dev_traverse()
powerpc/eeh: Fix crash when edev->pdev changes
arch/powerpc/include/asm/eeh.h | 6 +--
arch/powerpc/kernel/eeh.c | 16 +++----
arch/powerpc/kernel/eeh_driver.c | 70 ++++++++++++++++-------------
arch/powerpc/kernel/eeh_pe.c | 77 ++++++++++++++------------------
4 files changed, 82 insertions(+), 87 deletions(-)
--
2.22.0.216.g00a2a96fc9
More information about the Linuxppc-dev
mailing list