]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: s390: split kvm_s390_real_to_abs
authorClaudio Imbrenda <imbrenda@linux.ibm.com>
Mon, 22 Mar 2021 14:05:58 +0000 (15:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 May 2021 08:38:21 +0000 (10:38 +0200)
commitd9199089758e39577bfc5e38bef212c9553b07fe
tree3a76a7c62302cf7626f8c1978e22a200932ad880
parentfe837ad770a957c700aa38cb3c9c57d15ded9814
KVM: s390: split kvm_s390_real_to_abs

commit c5d1f6b531e68888cbe6718b3f77a60115d58b9c upstream.

A new function _kvm_s390_real_to_abs will apply prefixing to a real address
with a given prefix value.

The old kvm_s390_real_to_abs becomes now a wrapper around the new function.

This is needed to avoid code duplication in vSIE.

Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20210322140559.500716-2-imbrenda@linux.ibm.com
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/kvm/gaccess.h