linux/drivers/vdpa
Stefano Garzarella d7621c28fc vdpa_sim: replace the spinlock with a mutex to protect the state
The spinlock we use to protect the state of the simulator is sometimes
held for a long time (for example, when devices handle requests).

This also prevents us from calling functions that might sleep (such as
kthread_flush_work() in the next patch), and thus having to release
and retake the lock.

For these reasons, let's replace the spinlock with a mutex that gives
us more flexibility.

Suggested-by: Jason Wang <jasowang@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20230404131730.45920-1-sgarzare@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2023-04-21 03:02:33 -04:00
..
alibaba vdpa: multiple address spaces support 2022-05-31 12:44:27 -04:00
ifcvf vDPA/ifcvf: implement features provisioning 2023-02-20 19:26:55 -05:00
mlx5 vdpa/mlx5: Extend driver support for new features 2023-04-21 03:02:31 -04:00
solidrun virtio: vdpa: new SolidNET DPU driver. 2023-02-20 19:26:56 -05:00
vdpa_sim vdpa_sim: replace the spinlock with a mutex to protect the state 2023-04-21 03:02:33 -04:00
vdpa_user vduse: Support specifying bounce buffer size via sysfs 2023-04-21 03:02:32 -04:00
virtio_pci vp_vdpa: fix the crash in hot unplug with vp_vdpa 2023-03-10 03:48:27 -05:00
Kconfig virtio: vdpa: new SolidNET DPU driver. 2023-02-20 19:26:56 -05:00
Makefile virtio: vdpa: new SolidNET DPU driver. 2023-02-20 19:26:56 -05:00
vdpa.c vdpa: validate device feature provisioning against supported class 2023-02-20 19:27:00 -05:00