aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm/gaccess.c
diff options
context:
space:
mode:
authorClaudio Imbrenda <imbrenda@linux.ibm.com>2021-03-02 13:36:44 +0100
committerChristian Borntraeger <borntraeger@de.ibm.com>2021-03-09 10:16:56 +0100
commitf85f1baaa18932a041fd2b1c2ca6cfd9898c7d2b (patch)
tree6f1f071911202ff07ba25eec9906daf5b73c63da /arch/s390/kvm/gaccess.c
parent87e28a15c42cc592009c32a8c20e5789059027c2 (diff)
downloadlinux-f85f1baaa18932a041fd2b1c2ca6cfd9898c7d2b.tar.gz
KVM: s390: split kvm_s390_logical_to_effective
Split kvm_s390_logical_to_effective to a generic function called _kvm_s390_logical_to_effective. The new function takes a PSW and an address and returns the address with the appropriate bits masked off. The old function now calls the new function with the appropriate PSW from the vCPU. This is needed to avoid code duplication for vSIE. Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Cc: stable@vger.kernel.org # for VSIE: correctly handle MVPG when in VSIE Link: https://lore.kernel.org/r/20210302174443.514363-2-imbrenda@linux.ibm.com Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/gaccess.c')
0 files changed, 0 insertions, 0 deletions