All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] s390/kvm: fix MVPG when in VSIE
@ 2021-02-02 18:00 Claudio Imbrenda
  2021-02-02 18:00 ` [PATCH v2 1/2] s390/kvm: extend kvm_s390_shadow_fault to return entry pointer Claudio Imbrenda
  2021-02-02 18:00 ` [PATCH v2 2/2] s390/kvm: VSIE: correctly handle MVPG when in VSIE Claudio Imbrenda
  0 siblings, 2 replies; 12+ messages in thread
From: Claudio Imbrenda @ 2021-02-02 18:00 UTC (permalink / raw)
  To: linux-kernel; +Cc: borntraeger, frankja, david, kvm, linux-s390

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.

v1->v2
* 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(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-02-06  0:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 18:00 [PATCH v2 0/2] s390/kvm: fix MVPG when in VSIE Claudio Imbrenda
2021-02-02 18:00 ` [PATCH v2 1/2] s390/kvm: extend kvm_s390_shadow_fault to return entry pointer Claudio Imbrenda
2021-02-04 16:34   ` Janosch Frank
2021-02-04 17:05     ` Janosch Frank
2021-02-05 12:18       ` Claudio Imbrenda
2021-02-05 12:15     ` Claudio Imbrenda
2021-02-05 12:56       ` Janosch Frank
2021-02-05 14:05         ` Claudio Imbrenda
2021-02-02 18:00 ` [PATCH v2 2/2] s390/kvm: VSIE: correctly handle MVPG when in VSIE Claudio Imbrenda
2021-02-03 10:36   ` Claudio Imbrenda
2021-02-04 17:10   ` Janosch Frank
2021-02-05 12:20     ` Claudio Imbrenda

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.