mbox series

[v2,0/2] s390/kvm: fix MVPG when in VSIE

Message ID 20210202180028.876888-1-imbrenda@linux.ibm.com (mailing list archive)
Headers show
Series s390/kvm: fix MVPG when in VSIE | expand


Claudio Imbrenda Feb. 2, 2021, 6 p.m. UTC
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.

* complete rewrite

Claudio Imbrenda (2):
  s390/kvm: extend kvm_s390_shadow_fault to return entry pointer
  s390/kvm: VSIE: correctly handle MVPG when in VSIE

 arch/s390/kvm/gaccess.c |  26 ++++++++--
 arch/s390/kvm/gaccess.h |   5 +-
 arch/s390/kvm/vsie.c    | 102 ++++++++++++++++++++++++++++++++++++----
 3 files changed, 119 insertions(+), 14 deletions(-)