linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Nicholas Piggin <npiggin@gmail.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: Paul Mackerras <paulus@samba.org>, Nicholas Piggin <npiggin@gmail.com>
Subject: [PATCH 0/3] Fix NMI IPI timeouts
Date: Mon, 26 Nov 2018 12:01:04 +1000	[thread overview]
Message-ID: <20181126020107.17250-1-npiggin@gmail.com> (raw)

The first two patches fix timeouts and deadlocks using NMI IPIs.
The xmon deadlock fails with a timeout so it wasn't really noticed.
The infinite timeout only hits when the system is in really bad shape
or the sreset handler is broken somehow (e.g., running a guest and no
KVM test in the handler).

Patch 1 is a necessary fix. Patch 2 is a bigger change, we could live
without it because the sender will eventually time out and break the
deadlock.

Thanks,
Nick

Nicholas Piggin (3):
  powerpc/smp: Fix NMI IPI timeout
  powerpc/smp: Fix NMI IPI xmon timeout
  powerpc/smp: __smp_send_nmi_ipi static

 arch/powerpc/kernel/smp.c | 93 +++++++++++++--------------------------
 1 file changed, 30 insertions(+), 63 deletions(-)

-- 
2.19.2


             reply	other threads:[~2018-11-26  2:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-26  2:01 Nicholas Piggin [this message]
2018-11-26  2:01 ` [PATCH 1/3] powerpc/smp: Fix NMI IPI timeout Nicholas Piggin
2019-02-22  9:47   ` [1/3] " Michael Ellerman
2018-11-26  2:01 ` [PATCH 2/3] powerpc/smp: Fix NMI IPI xmon timeout Nicholas Piggin
2018-11-26  2:01 ` [PATCH 3/3] powerpc/smp: __smp_send_nmi_ipi static Nicholas Piggin

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=20181126020107.17250-1-npiggin@gmail.com \
    --to=npiggin@gmail.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=paulus@samba.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).