Skip to content

vfio: fixup notifiers and avoid possible deadlock

Alex Williamson kvm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vfio: Don't overreact to DEL_DEVICEdrivers/vfio/vfio.c+7 -220 replies
2/3vfio: Ignore sprurious notifiesdrivers/vfio/vfio.c+3 -50 replies
3/3vfio-pci: Avoid deadlock on removedrivers/vfio/pci/vfio_pci.c+21 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] vfio: fixup notifiers and avoid possible deadlock

Cleanup a couple of the notifier paths to remove bogus WARN_ON calls. One is pretty easy to hit and neither really signifies a problems. Fix remove path to avoid potential deadlock with other device_lock holders. Thanks,

Alex

---

Alex Williamson (3):
vfio: Don't overreact to DEL_DEVICE
vfio: Ignore sprurious notifies
vfio-pci: Avoid deadlock on remove

 drivers/vfio/pci/vfio_pci.c |   23 +++++++++++++++++++++--
 drivers/vfio/vfio.c         |   37 ++++++++++---------------------------
 2 files changed, 31 insertions(+), 29 deletions(-)