linux-stable/drivers/infiniband
Yishai Hadas 6d4c7bd6dc RDMA/mlx5: Relax DEVX access upon modify commands
[ Upstream commit be551ee157 ]

Relax DEVX access upon modify commands to be UVERBS_ACCESS_READ.

The kernel doesn't need to protect what firmware protects, or what
causes no damage to anyone but the user.

As firmware needs to protect itself from parallel access to the same
object, don't block parallel modify/query commands on the same object in
the kernel side.

This change will allow user space application to run parallel updates to
different entries in the same bulk object.

Tested-by: Tamar Mashiah <tmashiah@nvidia.com>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Reviewed-by: Michael Guralnik <michaelgur@nvidia.com>
Link: https://lore.kernel.org/r/7407d5ed35dc427c1097699e12b49c01e1073406.1706433934.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:20:25 -04:00
..
core trace: Relocate event helper files 2024-03-06 14:45:17 +00:00
hw RDMA/mlx5: Relax DEVX access upon modify commands 2024-03-26 18:20:25 -04:00
sw RDMA/siw: Fix connection failure handling 2023-10-10 22:00:45 +02:00
ulp RDMA/srpt: fix function pointer cast warnings 2024-03-01 13:26:35 +01:00
Kconfig RDMA: Disable IB HW for UML 2022-12-31 13:32:36 +01:00
Makefile