mbox series

[v2,0/9] ppc: nested KVM HV for spapr virtual hypervisor

Message ID 20220216102545.1808018-1-npiggin@gmail.com (mailing list archive)
Headers show
Series ppc: nested KVM HV for spapr virtual hypervisor | expand

Message

Nicholas Piggin Feb. 16, 2022, 10:25 a.m. UTC
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(-)

Comments

Cédric Le Goater Feb. 18, 2022, 7:45 a.m. UTC | #1
On 2/16/22 11:25, Nicholas Piggin wrote:
> 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

We can address migration aspects with followups.

Applied for ppc-7.0

Thanks,

C.