Merge tag 'vfio-v5.10-rc1' of git://github.com/awilliam/linux-vfio
[linux-2.6-microblaze.git] / arch / s390 / pci / pci_bus.c
index 0c0db7c..755b46f 100644 (file)
@@ -135,9 +135,10 @@ void pcibios_bus_add_device(struct pci_dev *pdev)
         * With pdev->no_vf_scan the common PCI probing code does not
         * perform PF/VF linking.
         */
-       if (zdev->vfn)
+       if (zdev->vfn) {
                zpci_iov_setup_virtfn(zdev->zbus, pdev, zdev->vfn);
-
+               pdev->no_command_memory = 1;
+       }
 }
 
 static int zpci_bus_add_device(struct zpci_bus *zbus, struct zpci_dev *zdev)