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

Message ID 170795147587.2393.15577527626926144858.stgit@bgt-140510-bm01.eng.stellus.in
Headers
Series PCI/IOV: sriov_numvfs bug fixes |

Message

Jim Harris Feb. 14, 2024, 10:59 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

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(-)

--