All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] EEH fixes 4
@ 2019-08-02  6:32 Sam Bobroff
  2019-08-02  6:32 ` [PATCH 1/3] powerpc/eeh: Slightly simplify eeh_add_to_parent_pe() Sam Bobroff
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sam Bobroff @ 2019-08-02  6:32 UTC (permalink / raw)
  To: linuxppc-dev

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-02  6:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-02  6:32 [PATCH 0/3] EEH fixes 4 Sam Bobroff
2019-08-02  6:32 ` [PATCH 1/3] powerpc/eeh: Slightly simplify eeh_add_to_parent_pe() Sam Bobroff
2019-08-02  6:32 ` [PATCH 2/3] powerpc/eeh: Remove unused return path from eeh_pe_dev_traverse() Sam Bobroff
2019-08-02  6:32 ` [PATCH 3/3] powerpc/eeh: Fix crash when edev->pdev changes Sam Bobroff

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.