A deadlock condition was discovered by SPDK when removing an SRIOV-enabled and VFIO-attached device, with a specific threading model. While discussing this on the mailing list, a separate issue around updating sriov_numvfs and its kobject_uevent() was also discovered. This series fixes both of those issues.
--- v1 => v2: * No code changes * Updated commit messages per feedback from Bjorn * Added Leon's Reviewed-by tags * Moved bulk of the v1 cover letter to the revert patch commit message where it belonged v2 => v3: * Update iov->num_VFs before VFs are probed --- Jim Harris (2): PCI/IOV: Revert "PCI/IOV: Serialize sysfs sriov_numvfs reads vs writes" PCI/IOV: set iov->num_VFs before VFs are probed drivers/pci/iov.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) --