[lkml]   [2021]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v4 0/2] s390/kvm: fix MVPG when in VSIE
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.

* added PEI_ prefix to DAT_PROT and NOT_PTE macros
* added small comment to explain what they are about

* improved some comments
* improved some variable and parameter names for increased readability
* fixed missing handling of page faults in the MVPG handler
* small readability improvements

* 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 | 30 ++++++++++--
arch/s390/kvm/gaccess.h | 6 ++-
arch/s390/kvm/vsie.c | 101 ++++++++++++++++++++++++++++++++++++----
3 files changed, 122 insertions(+), 15 deletions(-)


 \ /
  Last update: 2021-02-23 20:15    [W:0.034 / U:13.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site