Skip to content

s390: Enable AP instructions for pv-guests

Steffen Eiden qemu-devel 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest posting 2/25 patches 2 repliesIn review
  2. v3 posting 2/25 patches 3 repliesSuperseded
  3. v4 posting 1/24 patches 5 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v2 posting 2/23 patches3 repliesSuperseded
v3 posting 1/23 patches3 repliesSuperseded
v2 posting 1/23 patches1 replySuperseded
v13 patches3 repliesSuperseded

Changes in v4 from the cover letter

- nitfixes (Thomas)
- r-b from Michael&Thomas

Patches in v4 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5s390x/ap: fix missing subsystem reset registrationhw/s390x/s390-virtio-ccw.c+1 -00 replies
2/5s390x: switch pv and subsystem reset ordering on reboothw/s390x/s390-virtio-ccw.c+3 -35 replies
3/5NOTFORMERGE update linux-headers/asm-s390/kvm.hlinux-headers/asm-s390/kvm.h+16 -00 replies
4/5target/s390x/kvm: Refactor AP functionalitiestarget/s390x/kvm/kvm.c+17 -70 replies
5/5target/s390x: AP-passthrough for PV gueststarget/s390x/cpu_features.h target/s390x/cpu_features_def.h.inc target/s390x/cpu_models.c +2 more+79 -00 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchThomas HuthMichael MuellerChristian BorntraegerJason J. HerneTony KrowiakViktor Mihajlovski
1/5R-b R-b
2/5R-b A-b T-b
3/5
4/5R-b R-b
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/5] s390: Enable AP instructions for pv-guests

This series enables general QEMU support for AP pass-through for Secure Execution guests (pv-guests).

To enable AP-PT on pv-guests QEMU has to turn on the corresponding bits in the KVM CPU-model[1] if the CPU firmware supports it. However, it only makes sense to turn on AP-PT if the QEMU user enabled (general) AP for that guest.

See: https://lore.kernel.org/linux-s390/[email protected]/T/#t

The series consists of five patches:
1/2) fixes from Janosch for AP handling
3) update kvm-s390 header for this series (NOTFORMERGE)
4) small cleanup for kvm_s390_set_attr() refactor code to add ap_available() and ap_enabled()
5) Add UV_CALL CPU model enablement

since v3:
- nitfixes (Thomas)
- r-b from Michael&Thomas

since v2:
- add fixes for AP from Janosch
- rename *UV_CALL* to UV_FEAT_GUEST (Janosch)
- early return on some functions (Janosch)
- add r-b from Michael (Patch 4)
- mark linux header update as NOTFORMERGE

since v1:

- removed the new features from the default gen16 model
- updated KVM-headers to match KVM series v3 [1]
- applied review comments from Thomas

Steffen

Janosch Frank (2):
s390x/ap: fix missing subsystem reset registration
s390x: switch pv and subsystem reset ordering on reboot

Steffen Eiden (3):
NOTFORMERGE update linux-headers/asm-s390/kvm.h
target/s390x/kvm: Refactor AP functionalities
target/s390x: AP-passthrough for PV guests

 hw/s390x/s390-virtio-ccw.c          |  7 ++-
 linux-headers/asm-s390/kvm.h        | 16 +++++
 target/s390x/cpu_features.h         |  1 +
 target/s390x/cpu_features_def.h.inc |  4 ++
 target/s390x/cpu_models.c           |  2 +
 target/s390x/gen-features.c         |  2 +
 target/s390x/kvm/kvm.c              | 94 ++++++++++++++++++++++++++---
 7 files changed, 116 insertions(+), 10 deletions(-)
Signature · 1 line
2.41.0