[PATCH v2 0/2] PCI/IOV: sriov_numvfs bug fixes

Jim Harris
2024-02-09T23:52:09Z

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

Jim Harris (2):
PCI/IOV: Revert "PCI/IOV: Serialize sysfs sriov_numvfs reads vs writes"
PCI/IOV: fix kobject_uevent() ordering in sriov_enable()

drivers/pci/iov.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)

--