[PATCH 2/2] ppc64: Add a flag to tell the kernel it's booting from kexec
Scott Wood
scottwood at freescale.com
Mon Aug 17 11:59:47 PDT 2015
On Sat, 2015-07-18 at 14:57 -0500, Scott Wood wrote:
> It needs to know this because the SMP release mechanism for Freescale
> book3e is different from when booting with normal hardware. In theory
> we could simulate the normal spin table mechanism, but not (easily) at
> the addresses U-Boot put in the device tree -- so there'd need to be
> even more communication between the kernel and kexec to set that up.
> Since there's already a similar flag being set (for kdump only), this
> seemed like a reasonable approach.
>
> Signed-off-by: Scott Wood <scottwood at freescale.com>
> ---
> kexec/arch/ppc64/kexec-elf-ppc64.c | 11 ++++++++++-
> kexec/arch/ppc64/kexec-ppc64.h | 2 ++
> purgatory/arch/ppc64/v2wrap.S | 11 +++++++++++
> 3 files changed, 23 insertions(+), 1 deletion(-)
Any comment on these two patches?
-Scott
More information about the kexec
mailing list