Skip to content

Fix PVR matching, add AIL cap compatibility

Nicholas Piggin qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest4 patches 4 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4target/ppc: Fix masked PVR matchingtarget/ppc/cpu_init.c+34 -173 replies
2/4target/ppc: Remove chip type field from POWER9 DD2.0 PVRtarget/ppc/cpu-models.h+1 -11 reply
3/4target/ppc: Add POWER9 DD2.2 modelhw/ppc/pnv.c hw/ppc/pnv_core.c hw/ppc/spapr.c +6 more+30 -90 replies
4/4spapr: Add SPAPR_CAP_AIL_MODE_3 for AIL mode 3 support for H_SET_MODE hcallhw/ppc/spapr.c hw/ppc/spapr_caps.c hw/ppc/spapr_hcall.c +3 more+96 -120 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchDavid Gibson
1/4
2/4
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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(-)
Signature · 1 line
2.23.0