s390/pci: adaptation of iommu to multifunction
authorPierre Morel <pmorel@linux.ibm.com>
Fri, 21 Feb 2020 16:20:46 +0000 (17:20 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 28 Apr 2020 11:49:46 +0000 (13:49 +0200)
commitd08d6f5d75242ceb410efbdf650efecc40d68c2d
tree7e99dbb1341c7bdbd60a3801c5bb0f0b70f498f2
parente6ab7490ffaed83d6581f512e66c7c8cc6f58c2d
s390/pci: adaptation of iommu to multifunction

In the future the bus sysdata may not directly point to the
zpci_dev.

In preparation of upcoming patches let us abstract the
access to the zpci_dev from the device inside the pci device.

Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/pci.h
drivers/iommu/s390-iommu.c