Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: marc.zyngier@arm.com (Marc Zyngier)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: kexec: always reset to EL2 if present
Date: Mon, 2 Jul 2018 14:23:00 +0100	[thread overview]
Message-ID: <5259486f-126c-a343-c279-628846603cb6@arm.com> (raw)
In-Reply-To: <20180702131753.12949-1-mark.rutland@arm.com>

On 02/07/18 14:17, Mark Rutland wrote:
> Currently machine_kexec() doesn't reset to EL2 in the case of a
> crashdump kernel. This leaves potentially dodgy state active at EL2, and
> means that if the crashdump kernel attempts to online secondary CPUs,
> these will be booted as mismatched ELs.
> 
> Let's reset to EL2, as we do in all other cases, and simplify things. If
> EL2 state is corrupt, things are already sufficiently bad that kdump is
> unlikely to work, and it's best-effort regardless.
> 
> Signed-off-by: Mark Rutland <mark.rutland@arm.com>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: James Morse <james.morse@arm.com>
> Cc: Marc Zyngier <marc.zyngier@arm.com>
> Cc: Will Deacon <will.deacon@arm.com>

Acked-by: Marc Zyngier <marc.zyngier@arm.com>

	M.
-- 
Jazz is not dead. It just smells funny...

      reply	other threads:[~2018-07-02 13:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-02 13:17 [PATCH] arm64: kexec: always reset to EL2 if present Mark Rutland
2018-07-02 13:23 ` Marc Zyngier [this message]

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=5259486f-126c-a343-c279-628846603cb6@arm.com \
    --to=marc.zyngier@arm.com \
    --cc=linux-arm-kernel@lists.infradead.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