mbox series

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

Message ID 170752254154.1693615.9176696143128338408.stgit@bgt-140510-bm01.eng.stellus.in (mailing list archive)
Headers show
Series PCI/IOV: sriov_numvfs bug fixes | expand

Message

Jim Harris Feb. 9, 2024, 11:52 p.m. UTC
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(-)

--