On 6/30/2020 7:58 PM, Bjorn Helgaas wrote: > when adding VF by sysfs: > sriov_numvfs_store() > device_lock() > ... > sriov_enable() > ... > pci_device_add() > down_write(&pci_bus_sem) > when invoking aer routine: > pcie_do_recovery() > ... > pci_walk_bus() > down_read(&pci_bus_sem) > report_*() > ... > device_lock() if we are going to this path, I'd like to see that we kill pci_bus_sem altoghether.