[PATCH v4 0/2] KVM: s390: make use of ultravisor AIV support

Michael Mueller
2022-02-23T10:20:14Z

This patch enables the ultravisor adapter interruption vitualization
support.

Changes in v4:
- All vcpus are pulled out of SIE and disbled before the control
blocks are changed to disable/enable the gisa and re-enabled
afterwards instead of taking the vcpu specific lock.

Changes in v3:
- cache and test GISA descriptor only once in kvm_s390_gisa_enable()
- modified some comments
- removed some whitespace issues

Changes in v2:
- moved GISA disable into "put CPUs in PV mode" routine
- moved GISA enable into "pull CPUs out of PV mode" routine

[1] https://lore.kernel.org/lkml/ae7c65d8-f632-a7f4-926a-50b9660673a1@linux.ibm.com/T/#mcb67699bf458ba7482f6b7529afe589d1dbb5930
[2] https://lore.kernel.org/all/20220208165310.3905815-1-mimu@linux.ibm.com/
[3] https://lore.kernel.org/all/20220209152217.1793281-2-mimu@linux.ibm.com/

Michael Mueller (2):
KVM: s390: pv: pull all vcpus out of SIE before converting to/from pv
vcpu
KVM: s390: pv: make use of ultravisor AIV support

arch/s390/include/asm/uv.h | 1 +
arch/s390/kvm/interrupt.c | 54 +++++++++++++++++++++++++++++++++-----
arch/s390/kvm/kvm-s390.c | 19 +++++++++-----
arch/s390/kvm/kvm-s390.h | 11 ++++++++
4 files changed, 72 insertions(+), 13 deletions(-)

--
2.32.0