Skip to content

RFC powerpc/pseries: Kexec style boot

Alexey Kardashevskiy kvm-ppc linuxppc-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2powerpc/pseries: Call RTAS directlyarch/powerpc/include/asm/rtas.h arch/powerpc/kernel/rtas.c+22 -260 replies
2/2powerpc/pseries: Kexec style ibm,client-architecture-support supportarch/powerpc/kernel/prom_init.c arch/powerpc/kernel/setup_64.c+49 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH kernel RFC 0/2] powerpc/pseries: Kexec style boot

There is a funny excercise to run a guest under QEMU without the SLOF firmware and boot into a kernel directly to use petitboot as a boot loader (a more power boot loader than grub and yum), the patchset is posted as "spapr: Kexec style boot".

Since there is no SLOF, i.e. no client interface and no RTAS blob, we need to avoid the former and call the latter directly. Also, this implements "client-architecture-support" substiitute for the new environment.

This is based on sha1
a2b6f26c264e Christophe Leroy "powerpc/module64: Use symbolic instructions names.".

Please comment. Thanks.

Alexey Kardashevskiy (2):
powerpc/pseries: Call RTAS directly
powerpc/pseries: Kexec style ibm,client-architecture-support support

 arch/powerpc/include/asm/rtas.h |  1 +
 arch/powerpc/kernel/prom_init.c | 12 ++++++---
 arch/powerpc/kernel/rtas.c      | 47 +++++++++++++++------------------
 arch/powerpc/kernel/setup_64.c  | 41 ++++++++++++++++++++++++++++
 4 files changed, 71 insertions(+), 30 deletions(-)
Signature · 1 line
2.17.1