mbox series

[v3,0/4] Fix PVR matching, add AIL cap compatibility

Message ID 20220307065527.156132-1-npiggin@gmail.com (mailing list archive)
Headers show
Series Fix PVR matching, add AIL cap compatibility | expand

Message

Nicholas Piggin March 7, 2022, 6:55 a.m. UTC
Ended up running into some interesting PVR matching issues which I
think are now fixed (although have not tested full matrix of all CPUs
affected by patch 1).

Since last post, I have dropped the KVM cap for now. The KVM CAP is
allocated in kvm.git next but it won't be a big deal to wait until
it hits upstream then sync the headers and do the incremental patch.

Thanks,
Nick

Nicholas Piggin (4):
  target/ppc: Fix masked PVR matching
  target/ppc: Remove chip type field from POWER9 DD2.0 PVR
  target/ppc: Add POWER9 DD2.2 model
  spapr: Add SPAPR_CAP_AIL_MODE_3 for AIL mode 3 support for H_SET_MODE
    hcall

 hw/ppc/pnv.c                   |  2 +-
 hw/ppc/pnv_core.c              |  2 +-
 hw/ppc/spapr.c                 |  7 +++-
 hw/ppc/spapr_caps.c            | 37 ++++++++++++++++++
 hw/ppc/spapr_cpu_core.c        |  1 +
 hw/ppc/spapr_hcall.c           | 24 ++++++------
 include/hw/ppc/pnv.h           |  2 +-
 include/hw/ppc/spapr.h         |  4 +-
 target/ppc/cpu-models.c        |  4 +-
 target/ppc/cpu-models.h        |  3 +-
 target/ppc/cpu_init.c          | 68 +++++++++++++++++++++++++---------
 target/ppc/kvm.c               | 32 ++++++++++++++++
 target/ppc/kvm_ppc.h           |  6 +++
 tests/qtest/device-plug-test.c |  4 +-
 14 files changed, 159 insertions(+), 37 deletions(-)