s390/pci: stash version in the zpci_dev
authorMatthew Rosato <mjrosato@linux.ibm.com>
Wed, 7 Oct 2020 18:56:20 +0000 (14:56 -0400)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 7 Oct 2020 20:23:41 +0000 (14:23 -0600)
commitdc8c638d9e140e0a2a04ab7e3f3fde3bbad1dacf
tree76b7f63a117749c11b7d0f0c72534d95d5c756b1
parentba4f184e126b751d1bffad5897f263108befc780
s390/pci: stash version in the zpci_dev

In preparation for passing the info on to vfio-pci devices, stash the
supported PCI version for the target device in the zpci_dev.

Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Acked-by: Niklas Schnelle <schnelle@linux.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
arch/s390/include/asm/pci.h
arch/s390/pci/pci_clp.c