KVM: s390: vsie: Use virt_to_phys for crypto control block
authorNina Schoetterl-Glausch <nsg@linux.ibm.com>
Mon, 29 Apr 2024 17:15:12 +0000 (19:15 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 1 May 2024 09:48:21 +0000 (11:48 +0200)
commitcc4edb92f55aea6eb26930087c8075bdf9967b1b
tree802a60328b830a5176b12f59e2e86304b90052aa
parent9ecaa2e94e602a3cbcbfe182535f6297f7630b98
KVM: s390: vsie: Use virt_to_phys for crypto control block

The address of the crypto control block in the (shadow) SIE block is
absolute/physical.
Convert from virtual to physical when shadowing the guest's control
block during VSIE.

Signed-off-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Link: https://lore.kernel.org/r/20240429171512.879215-1-nsg@linux.ibm.com
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kvm/vsie.c