Skip to content

ppc: nested KVM HV for spapr virtual hypervisor

Nicholas Piggin qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 6 repliesIn review
  2. v19 patches 20 repliesSuperseded

Changes in v2 from the cover letter

- Per-CPU spapr nested state moved to SpaprCpuState from PowerPCCPU.
- address_space_map ops are used, small rearrangement to make any given access region store-only or load-only.
- Some style, naming, etc cleanups and fixes.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9target/ppc: raise HV interrupts for partition table entry problemstarget/ppc/mmu-radix64.c+2 -20 replies
2/9spapr: prevent hdec timer being set up under virtual hypervisorhw/ppc/ppc.c hw/ppc/spapr_cpu_core.c+4 -40 replies
3/9ppc: allow the hdecr timer to be created/destroyedhw/ppc/ppc.c include/hw/ppc/ppc.h+24 -00 replies
4/9target/ppc: add vhyp addressing mode helper for radix MMUtarget/ppc/mmu-radix64.c+15 -40 replies
5/9target/ppc: make vhyp get_pate method take lpid and return successhw/ppc/spapr.c target/ppc/cpu.h target/ppc/mmu-radix64.c+14 -30 replies
6/9target/ppc: add helper for books vhyp hypercall handlertarget/ppc/excp_helper.c+13 -10 replies
7/9target/ppc: Add powerpc_reset_excp_state helpertarget/ppc/excp_helper.c+21 -200 replies
8/9target/ppc: Introduce a vhyp framework for nested HV supporthw/ppc/pegasos2.c hw/ppc/spapr.c target/ppc/cpu.h +2 more+81 -131 reply
9/9spapr: implement nested-hv capability for the virtual hypervisorhw/ppc/spapr.c hw/ppc/spapr_caps.c hw/ppc/spapr_hcall.c +2 more+452 -114 replies

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by.

PatchDaniel Henrique BarbozaCédric Le GoaterFabiano Rosas
1/9R-b R-b
2/9R-b R-b
3/9
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b R-b
9/9R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/9] ppc: nested KVM HV for spapr virtual hypervisor

This should account for AFAIKS all comments, except maybe some about naming.

Changes since v1:
- Per-CPU spapr nested state moved to SpaprCpuState from PowerPCCPU.
- address_space_map ops are used, small rearrangement to make any given access region store-only or load-only.
- Some style, naming, etc cleanups and fixes.

Hopefully I didn't miss anything.

Thanks,
Nick

Nicholas Piggin (9):
target/ppc: raise HV interrupts for partition table entry problems
spapr: prevent hdec timer being set up under virtual hypervisor
ppc: allow the hdecr timer to be created/destroyed target/ppc: add vhyp addressing mode helper for radix MMU target/ppc: make vhyp get_pate method take lpid and return success target/ppc: add helper for books vhyp hypercall handler target/ppc: Add powerpc_reset_excp_state helper target/ppc: Introduce a vhyp framework for nested HV support
spapr: implement nested-hv capability for the virtual hypervisor

 hw/ppc/pegasos2.c               |   6 +
 hw/ppc/ppc.c                    |  23 ++-
 hw/ppc/spapr.c                  |  46 ++++-
 hw/ppc/spapr_caps.c             |  14 +-
 hw/ppc/spapr_cpu_core.c         |   6 +-
 hw/ppc/spapr_hcall.c            | 333 ++++++++++++++++++++++++++++++++
 include/hw/ppc/ppc.h            |   3 +
 include/hw/ppc/spapr.h          |  74 ++++++-
 include/hw/ppc/spapr_cpu_core.h |   5 +
 target/ppc/cpu.h                |  10 +-
 target/ppc/excp_helper.c        | 117 ++++++++---
 target/ppc/mmu-radix64.c        |  37 +++-
 12 files changed, 621 insertions(+), 53 deletions(-)
Signature · 1 line
2.23.0