summaryrefslogtreecommitdiff
path: root/arch/s390/mm
diff options
context:
space:
mode:
authorNico Boehr <nrb@linux.ibm.com>2022-10-25 11:20:39 +0300
committerJanosch Frank <frankja@linux.ibm.com>2022-10-26 15:28:55 +0300
commit77b533411595668659ce5aaade4ca36c7aa2c488 (patch)
tree915b95c9d77ffe5b908af6dcb24fed499a4a248c /arch/s390/mm
parent4435b79a366495a5cb43b792d9e7d69d489428cd (diff)
downloadlinux-77b533411595668659ce5aaade4ca36c7aa2c488.tar.xz
KVM: s390: VSIE: sort out virtual/physical address in pin_guest_page
pin_guest_page() used page_to_virt() to calculate the hpa of the pinned page. This currently works, because virtual and physical addresses are the same. Use page_to_phys() instead to resolve the virtual-real address confusion. One caller of pin_guest_page() actually expected the hpa to be a hva, so add the missing phys_to_virt() conversion here. Signed-off-by: Nico Boehr <nrb@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Acked-by: David Hildenbrand <david@redhat.com> Reviewed-by: Christian Borntraeger <borntraeger@linux.ibm.com> Link: https://lore.kernel.org/r/20221025082039.117372-2-nrb@linux.ibm.com Message-Id: <20221025082039.117372-2-nrb@linux.ibm.com> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Diffstat (limited to 'arch/s390/mm')
0 files changed, 0 insertions, 0 deletions