From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Laurent Vivier <lvivier@redhat.com>,
Michael Ellerman <mpe@ellerman.id.au>
Cc: Paul Mackerras <paulus@samba.org>,
linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,
dgibson@redhat.com, thuth@redhat.com
Subject: Re: [PATCH] powerpc: on crash, kexec'ed kernel needs all CPUs are online
Date: Sat, 17 Oct 2015 07:31:13 +0530 [thread overview]
Message-ID: <1445047273.24309.35.camel@kernel.crashing.org> (raw)
In-Reply-To: <5620ABC5.6060300@redhat.com>
On Fri, 2015-10-16 at 09:48 +0200, Laurent Vivier wrote:
>
> Yes, we know :)
>
> On the crash, as the CPUs are offline, kernel doesn't call
> opal_return_cpu(), so for OPAL all these CPU are always in the
> kernel.
Hrm and they may even be in winkle state, so basically off... waking
them up *could* be a tricky business.
I suppose we could, near the last stage of kexec, patch the 0x100
vector to send anybody coming in to a kexec wait loop, and then machine
gun the IPIs. But that will make them come in with an unclean ICP
needing an EOI, I'm not sure we handle that very well.
Ideally we could just soft-reset them but that's broken on P8.
Cheers,
Ben.
next prev parent reply other threads:[~2015-10-17 2:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-15 19:00 [PATCH] powerpc: on crash, kexec'ed kernel needs all CPUs are online Laurent Vivier
2015-10-16 0:27 ` kbuild test robot
2015-10-16 2:14 ` Michael Ellerman
2015-10-16 7:48 ` Laurent Vivier
2015-10-17 2:01 ` Benjamin Herrenschmidt [this message]
2015-10-16 2:29 ` David Gibson
2015-10-16 7:57 ` Laurent Vivier
2015-10-17 2:03 ` Benjamin Herrenschmidt
2015-11-04 12:34 ` Hari Bathini
2015-11-04 13:54 ` Laurent Vivier
2015-11-05 1:32 ` David Gibson
2015-11-05 6:59 ` Stewart Smith
2015-11-05 10:23 ` Hari Bathini
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=1445047273.24309.35.camel@kernel.crashing.org \
--to=benh@kernel.crashing.org \
--cc=dgibson@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=lvivier@redhat.com \
--cc=mpe@ellerman.id.au \
--cc=paulus@samba.org \
--cc=thuth@redhat.com \
/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).