Skip to content

Fix lock errors in VDUSE suspend feature

Eugenio Pérez lkml virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vduse: fix not releasing taken semaphore in vduse_dev_queue_irq_workdrivers/vdpa/vdpa_user/vduse_dev.c+2 -70 replies
2/2vduse: not take the device semaphore while holding vq spinlockdrivers/vdpa/vdpa_user/vduse_dev.c+4 -40 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/2] Fix lock errors in VDUSE suspend feature

Fix wrong ordering at taking semaphore after spinlock and convert the spinlock take and release into guards, so they are not lost after a return.

This series goes on top of https://lore.kernel.org/lkml/[email protected]/
---
It would be great if these can be squashed.

Eugenio Pérez (2):
vduse: fix not releasing taken semaphore in vduse_dev_queue_irq_work
vduse: not take the device semaphore while holding vq spinlock

 drivers/vdpa/vdpa_user/vduse_dev.c | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

--
2.54.0