Skip to content

spapr: Kill SLOF

Alexey Kardashevskiy qemu-devel 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest3 patches 7 repliesIn review
  2. v75 patches 9 repliesSuperseded
  3. v66 patches 9 repliesApplied
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v51 patch8 repliesSuperseded
v41 patch6 repliesSuperseded
v31 patch1 replySuperseded
v21 patch21 repliesSuperseded
v1 RFC1 patch10 repliesSuperseded

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ppc/spapr: Move GPRs setup to one placehw/ppc/spapr.c hw/ppc/spapr_cpu_core.c hw/ppc/spapr_rtas.c +1 more+10 -44 replies
2/3spapr/cas: Separate CAS handling from rebuilding the FDThw/ppc/spapr.c hw/ppc/spapr_hcall.c include/hw/ppc/spapr.h+48 -270 replies
3/3spapr: Implement Open Firmware client interfacehw/ppc/Makefile.objs hw/ppc/spapr.c hw/ppc/spapr_hcall.c +13 more+1592 -143 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchGreg KurzPaolo Bonzini
1/3R-b
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [PATCH qemu v8 0/3] spapr: Kill SLOF

This is another attempt to implement minimalistic Open Firmware Client Interface in QEMU.

v8 is simplified to only support -kernel/-initrd; this does not have early boot serial output (wait until Linux initializes the serial console).

With this, I can boot unmodified Fedora 30 via petitboot passed via -kernel/-initrd, the command line example is in 3/3.

A useful discussion happened esrlier:
https://lore.kernel.org/qemu-devel/[email protected]/

This is based on sha1
6776047598c2 Cédric Le Goater "spapr/xive: use SPAPR_IRQ_IPI to define IPI ranges exposed to the guest".

Please comment. Thanks.

Alexey Kardashevskiy (3):
ppc/spapr: Move GPRs setup to one place spapr/cas: Separate CAS handling from rebuilding the FDT
spapr: Implement Open Firmware client interface

 hw/ppc/Makefile.objs            |    1 +
 pc-bios/vof/Makefile            |   18 +
 include/hw/ppc/spapr.h          |   26 +-
 include/hw/ppc/spapr_cpu_core.h |    4 +-
 pc-bios/vof/vof.h               |   44 ++
 hw/ppc/spapr.c                  |   69 +-
 hw/ppc/spapr_cpu_core.c         |    6 +-
 hw/ppc/spapr_hcall.c            |   73 ++-
 hw/ppc/spapr_of_client.c        | 1094 +++++++++++++++++++++++++++++++
 hw/ppc/spapr_rtas.c             |    2 +-
 pc-bios/vof/bootmem.c           |   13 +
 pc-bios/vof/ci.c                |  108 +++
 pc-bios/vof/libc.c              |   91 +++
 pc-bios/vof/main.c              |   22 +
 hw/ppc/trace-events             |   21 +
 pc-bios/README                  |    2 +
 pc-bios/vof.bin                 |  Bin 0 -> 3680 bytes
 pc-bios/vof/entry.S             |   51 ++
 pc-bios/vof/l.lds               |   48 ++
 19 files changed, 1649 insertions(+), 44 deletions(-)
 create mode 100644 pc-bios/vof/Makefile
 create mode 100644 pc-bios/vof/vof.h
 create mode 100644 hw/ppc/spapr_of_client.c
 create mode 100644 pc-bios/vof/bootmem.c
 create mode 100644 pc-bios/vof/ci.c
 create mode 100644 pc-bios/vof/libc.c
 create mode 100644 pc-bios/vof/main.c
 create mode 100755 pc-bios/vof.bin
 create mode 100644 pc-bios/vof/entry.S
 create mode 100644 pc-bios/vof/l.lds
Signature · 1 line
2.17.1