summaryrefslogtreecommitdiffstats
path: root/drivers/s390/crypto
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-11-28 19:34:47 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2022-11-28 19:34:47 +0100
commit1e79a9e3ab96ecf8dbb8b6d237b3ae824bd79074 (patch)
tree60e5967053f62461b983d0fe45fe5786805c6327 /drivers/s390/crypto
parentKVM: x86: Advertise PREFETCHIT0/1 CPUID to user space (diff)
parentKVM: s390: remove unused gisa_clear_ipm_gisc() function (diff)
downloadlinux-1e79a9e3ab96ecf8dbb8b6d237b3ae824bd79074.tar.xz
linux-1e79a9e3ab96ecf8dbb8b6d237b3ae824bd79074.zip
Merge tag 'kvm-s390-next-6.2-1' of https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD
- Second batch of the lazy destroy patches - First batch of KVM changes for kernel virtual != physical address support - Removal of a unused function
Diffstat (limited to 'drivers/s390/crypto')
-rw-r--r--drivers/s390/crypto/vfio_ap_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/crypto/vfio_ap_ops.c b/drivers/s390/crypto/vfio_ap_ops.c
index 0b4cc8c597ae..205a00105858 100644
--- a/drivers/s390/crypto/vfio_ap_ops.c
+++ b/drivers/s390/crypto/vfio_ap_ops.c
@@ -429,7 +429,7 @@ static struct ap_queue_status vfio_ap_irq_enable(struct vfio_ap_queue *q,
aqic_gisa.isc = nisc;
aqic_gisa.ir = 1;
- aqic_gisa.gisa = (uint64_t)gisa >> 4;
+ aqic_gisa.gisa = virt_to_phys(gisa) >> 4;
status = ap_aqic(q->apqn, aqic_gisa, h_nib);
switch (status.response_code) {