[PATCH v1 0/4] s390/kvm: fix MVPG when in VSIE

From: Claudio Imbrenda
Date: Fri Dec 18 2020 - 09:19:00 EST


The current handling of the MVPG instruction when executed in a nested
guest is wrong, and can lead to the nested guest hanging.

This patchset fixes the behaviour to be more architecturally correct,
and fixes the hangs observed.

Claudio Imbrenda (4):
s390/kvm: VSIE: stop leaking host addresses
s390/kvm: extend guest_translate for MVPG interpretation
s390/kvm: add kvm_s390_vsie_mvpg_check needed for VSIE MVPG
s390/kvm: VSIE: correctly handle MVPG when in VSIE

arch/s390/kvm/gaccess.c | 88 ++++++++++++++++++++++++++++++++++++++---
arch/s390/kvm/gaccess.h | 3 ++
arch/s390/kvm/vsie.c | 78 +++++++++++++++++++++++++++++++++---
3 files changed, 159 insertions(+), 10 deletions(-)

--
2.26.2