linux/drivers/vdpa
Eli Cohen a9f01f0776 vdpa: Sync calls set/get config/status with cf_mutex
[ Upstream commit 73bc0dbb59 ]

Add wrappers to get/set status and protect these operations with
cf_mutex to serialize these operations with respect to get/set config
operations.

Signed-off-by: Eli Cohen <elic@nvidia.com>
Link: https://lore.kernel.org/r/20220105114646.577224-4-elic@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Stable-dep-of: e40b6abe0b ("virtio_vdpa: fix misleading return in void function")
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-01-19 13:09:34 +01:00
..
ifcvf vDPA/ifcvf: Fix pci_read_config_byte() return code handling 2024-11-17 15:06:25 +01:00
mlx5 vdpa/mlx5: Fix oversized null mkey longer than 32bit 2025-05-02 07:44:02 +02:00
vdpa_sim vdpa_sim: set last_used_idx as last_avail_idx in vdpasim_queue_ready 2023-03-22 13:31:24 +01:00
vdpa_user vduse: Temporarily fail if control queue feature requested 2024-07-05 09:14:42 +02:00
virtio_pci vdpa: fix use-after-free on vp_vdpa_remove 2022-03-16 14:23:36 +01:00
Kconfig vduse: Introduce VDUSE - vDPA Device in Userspace 2021-09-06 07:20:58 -04:00
Makefile vduse: Introduce VDUSE - vDPA Device in Userspace 2021-09-06 07:20:58 -04:00
vdpa.c vdpa: Sync calls set/get config/status with cf_mutex 2026-01-19 13:09:34 +01:00