s390/pci: use phys_to_virt() for AIBVs/DIBVs
authorNiklas Schnelle <schnelle@linux.ibm.com>
Thu, 25 Nov 2021 15:42:22 +0000 (16:42 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 6 Dec 2021 13:42:26 +0000 (14:42 +0100)
commit4e4dc65ab578c962ea898d475c0418ea29cc6b2f
treefb56b005b3c4f9b7782c67801292cd30f72fdbc6
parent97aa7468f697383e0ed5babd1168aaed8a660dc0
s390/pci: use phys_to_virt() for AIBVs/DIBVs

The adapter and directed interrupt bit vectors need to be referenced in
the FIB with their physical not their virtual address. So use
virt_to_phys() as approrpiate.

Note: this currently doesn't fix a real bug, since virtual addresses
are indentical to physical ones.

Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/pci/pci_irq.c