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
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.