]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit314fc78513252e04cc4b250616cad0b55576029e
treefb56b005b3c4f9b7782c67801292cd30f72fdbc6
parentb6238015745fcf2d7fe4a82494956f12cc752381
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