[PATCH 0/3] KVM: s390: Enable AP instructions for pv-guests

From: Steffen Eiden
Date: Thu Jul 27 2023 - 08:21:09 EST


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

To enable AP inside pv-guests two things have to be done/considered:
1) set corresponding flags in the Create Secure Configuration UVC ifi
firmware supports AP for pv-guests (patch 3).
2) enable/disable AP in pv-guests if the VMM wants this (patch 2).

Steffen

Steffen Eiden (3):
s390: uv: UV feature check utility
KVM: s390: Add UV feature negotiation
KVM: s390: pv: Allow AP-instructions for pv guests

arch/s390/include/asm/kvm_host.h | 2 +
arch/s390/include/asm/uv.h | 17 +++++++-
arch/s390/include/uapi/asm/kvm.h | 24 +++++++++++
arch/s390/kernel/uv.c | 2 +-
arch/s390/kvm/kvm-s390.c | 72 +++++++++++++++++++++++++++++++-
arch/s390/kvm/pv.c | 8 +++-
arch/s390/mm/fault.c | 2 +-
7 files changed, 121 insertions(+), 6 deletions(-)

--
2.40.1