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

Nicholas Piggin posted 9 patches 2 years, 2 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220216102545.1808018-1-npiggin@gmail.com
Maintainers: Greg Kurz <groug@kaod.org>, "Cédric Le Goater" <clg@kaod.org>, David Gibson <david@gibson.dropbear.id.au>, BALATON Zoltan <balaton@eik.bme.hu>, Daniel Henrique Barboza <danielhb413@gmail.com>
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(-)
[PATCH v2 0/9] ppc: nested KVM HV for spapr virtual hypervisor
Posted by Nicholas Piggin 2 years, 2 months ago
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(-)

-- 
2.23.0


Re: [PATCH v2 0/9] ppc: nested KVM HV for spapr virtual hypervisor
Posted by Cédric Le Goater 2 years, 2 months ago
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.