All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Bobroff <sbobroff@linux.ibm.com>
To: linuxppc-dev@lists.ozlabs.org
Subject: [PATCH 0/3] EEH fixes 4
Date: Fri,  2 Aug 2019 16:32:44 +1000	[thread overview]
Message-ID: <cover.1564727543.git.sbobroff@linux.ibm.com> (raw)

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


             reply	other threads:[~2019-08-02  6:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-02  6:32 Sam Bobroff [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1564727543.git.sbobroff@linux.ibm.com \
    --to=sbobroff@linux.ibm.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.