mbox series

[v2,0/2] s390/kvm: VSIE: fix prefixing and MSO for MVPG

Message ID 20210322140559.500716-1-imbrenda@linux.ibm.com (mailing list archive)
Headers show
Series s390/kvm: VSIE: fix prefixing and MSO for MVPG | expand

Message

Claudio Imbrenda March 22, 2021, 2:05 p.m. UTC
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(-)

Comments

Christian Borntraeger March 23, 2021, 10:49 a.m. UTC | #1
On 22.03.21 15:05, Claudio Imbrenda wrote:
> 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(-)
> 

I picked both for internal CI and staging.
RBs or acks can still be send.