LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH kernel RFC 0/2] powerpc/pseries: Kexec style boot
@ 2019-07-20  1:29 Alexey Kardashevskiy
  2019-07-20  1:29 ` [PATCH kernel RFC 1/2] powerpc/pseries: Call RTAS directly Alexey Kardashevskiy
  2019-07-20  1:29 ` [PATCH kernel RFC 2/2] powerpc/pseries: Kexec style ibm, client-architecture-support support Alexey Kardashevskiy
  0 siblings, 2 replies; 3+ messages in thread
From: Alexey Kardashevskiy @ 2019-07-20  1:29 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Alexey Kardashevskiy, kvm-ppc, Paul Mackerras, David Gibson

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(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-20  1:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-20  1:29 [PATCH kernel RFC 0/2] powerpc/pseries: Kexec style boot Alexey Kardashevskiy
2019-07-20  1:29 ` [PATCH kernel RFC 1/2] powerpc/pseries: Call RTAS directly Alexey Kardashevskiy
2019-07-20  1:29 ` [PATCH kernel RFC 2/2] powerpc/pseries: Kexec style ibm, client-architecture-support support Alexey Kardashevskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox