projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aff68a5
)
s390/pci: skip VF scanning
author
Sebastian Ott
<sebott@linux.ibm.com>
Fri, 21 Dec 2018 14:14:20 +0000
(15:14 +0100)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 2 Jan 2019 01:06:48 +0000
(19:06 -0600)
Set the flag to skip scanning for VFs after SR-IOV enablement. VF creation
will be triggered by the hotplug code.
Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
arch/s390/pci/pci.c
patch
|
blob
|
history
diff --git
a/arch/s390/pci/pci.c
b/arch/s390/pci/pci.c
index 9f6f392a44619ef41b910f5e6899c69d07a24edf..4266a4de31601c0164a841532520febe5dc635b9 100644
(file)
--- a/
arch/s390/pci/pci.c
+++ b/
arch/s390/pci/pci.c
@@
-651,6
+651,9
@@
int pcibios_add_device(struct pci_dev *pdev)
struct resource *res;
int i;
+ if (pdev->is_physfn)
+ pdev->no_vf_scan = 1;
+
pdev->dev.groups = zpci_attr_groups;
pdev->dev.dma_ops = &s390_pci_dma_ops;
zpci_map_resources(pdev);