diff options
author | Niklas Schnelle <[email protected]> | 2020-04-27 16:25:27 +0200 |
---|---|---|
committer | Vasily Gorbik <[email protected]> | 2020-05-20 10:22:50 +0200 |
commit | a1ceea67f2e5b73cebd456e7fb463b3052bc6344 (patch) | |
tree | 117a6da2754c21aec5306a2db9e1c7352286b611 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | c70d82e96644bd660ea53209c19f75cd86c560d6 (diff) |
PCI/IOV: Introduce pci_iov_sysfs_link() function
Currently pci_iov_add_virtfn() scans the SR-IOV BARs, adds the VF to the
bus and also creates the sysfs links between the newly added VF and its
parent PF.
With pdev->no_vf_scan fencing off the entire pci_iov_add_virtfn() call
s390 as the sole pdev->no_vf_scan user thus ends up missing these sysfs
links which are required for example by QEMU/libvirt.
Instead of duplicating the code refactor pci_iov_add_virtfn() to make
sysfs link creation callable separately.
Signed-off-by: Niklas Schnelle <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Pierre Morel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions