Skip to content

ppc/spapr: Nested HV fix and tidying

Nicholas Piggin qemu-devel 2 versions – Applied

Status from this message: Applied to ppc-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesApplied
  2. v14 patches 14 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4ppc/spapr: H_ENTER_NESTED should restore host XER ca fieldhw/ppc/spapr_hcall.c+1 -00 replies
2/4ppc/spapr: Add a nested state structhw/ppc/spapr_hcall.c include/hw/ppc/spapr_cpu_core.h+115 -400 replies
3/4ppc/spapr: load and store l2 state with helper functionshw/ppc/spapr_hcall.c+85 -790 replies
4/4ppc/spapr: Move spapr nested HV to a new filehw/ppc/meson.build hw/ppc/spapr.c hw/ppc/spapr_hcall.c +3 more+501 -4761 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchHarsh Prateek Bora
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/4] ppc/spapr: Nested HV fix and tidying

To prepare for some later changes to nested-HV I would like to get these cleanups done and move nested to its own file. This is rebased and patch 4 has some nested function definitions and structs in spapr_nested.h that Harsh suggested.

Thanks,
Nick

Nicholas Piggin (4):
ppc/spapr: H_ENTER_NESTED should restore host XER ca field ppc/spapr: Add a nested state struct
ppc/spapr: load and store l2 state with helper functions ppc/spapr: Move spapr nested HV to a new file

 hw/ppc/meson.build              |   1 +
 hw/ppc/spapr.c                  |   1 +
 hw/ppc/spapr_hcall.c            | 335 +--------------------------
 hw/ppc/spapr_nested.c           | 395 ++++++++++++++++++++++++++++++++
 include/hw/ppc/spapr.h          |  62 -----
 include/hw/ppc/spapr_cpu_core.h |   5 +-
 include/hw/ppc/spapr_nested.h   | 102 +++++++++
 7 files changed, 504 insertions(+), 397 deletions(-)
 create mode 100644 hw/ppc/spapr_nested.c
 create mode 100644 include/hw/ppc/spapr_nested.h
Signature · 1 line
2.40.1