linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] s390/kvm: VSIE: fix prefixing and MSO for MVPG
@ 2021-03-22 14:05 Claudio Imbrenda
  2021-03-22 14:05 ` [PATCH v2 1/2] s390/kvm: split kvm_s390_real_to_abs Claudio Imbrenda
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Claudio Imbrenda @ 2021-03-22 14:05 UTC (permalink / raw)
  To: linux-kernel; +Cc: borntraeger, frankja, david, cohuck, kvm, linux-s390

The guest real address needs to pass through prefixing in order to yield
the absolute address.

The absolute address needs to be offset by the MSO in order to get the
host virtual address.

v1->v2
* use the MSO from the shadow SIE page instead of the original one
* reuse src and dest variabled to improve readability

Claudio Imbrenda (2):
  s390/kvm: split kvm_s390_real_to_abs
  s390/kvm: VSIE: fix MVPG handling for prefixing and MSO

 arch/s390/kvm/gaccess.h | 23 +++++++++++++++++------
 arch/s390/kvm/vsie.c    |  6 +++++-
 2 files changed, 22 insertions(+), 7 deletions(-)

-- 
2.26.2


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

end of thread, other threads:[~2021-03-23 15:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-22 14:05 [PATCH v2 0/2] s390/kvm: VSIE: fix prefixing and MSO for MVPG Claudio Imbrenda
2021-03-22 14:05 ` [PATCH v2 1/2] s390/kvm: split kvm_s390_real_to_abs Claudio Imbrenda
2021-03-23 15:01   ` Christian Borntraeger
2021-03-22 14:05 ` [PATCH v2 2/2] s390/kvm: VSIE: fix MVPG handling for prefixing and MSO Claudio Imbrenda
2021-03-23 10:50   ` David Hildenbrand
2021-03-23 15:07   ` Christian Borntraeger
2021-03-23 15:11     ` David Hildenbrand
2021-03-23 15:16       ` Christian Borntraeger
2021-03-23 15:17         ` David Hildenbrand
2021-03-23 15:21         ` Claudio Imbrenda
2021-03-23 15:34           ` Christian Borntraeger
2021-03-23 10:49 ` [PATCH v2 0/2] s390/kvm: VSIE: fix prefixing and MSO for MVPG Christian Borntraeger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).