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

Nicholas Piggin posted 4 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/20220307065527.156132-1-npiggin@gmail.com
Maintainers: "Cédric Le Goater" <clg@kaod.org>, Daniel Henrique Barboza <danielhb413@gmail.com>, David Gibson <david@gibson.dropbear.id.au>, Greg Kurz <groug@kaod.org>, Paolo Bonzini <pbonzini@redhat.com>, Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>
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(-)
[PATCH v3 0/4] Fix PVR matching, add AIL cap compatibility
Posted by Nicholas Piggin 2 years, 2 months ago
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(-)

-- 
2.23.0