Re: [PATCH rdma-next] RDMA/mlx4: Restrict external umem for CQ when copy_to_user() is used
From: Leon Romanovsky
Date: Mon Mar 30 2026 - 08:37:12 EST
On Wed, 25 Mar 2026 20:16:03 +0200, Leon Romanovsky wrote:
> When the mlx4 firmware reports the MLX4_DEV_CAP_FLAG2_SW_CQ_INIT capability,
> libmlx4 from the rdma-core package expects the driver to initialize memory
> at the address provided in the buf_addr parameter of ucmd.
>
> This behavior cannot be supported by any external umem implementation, so
> restrict it accordingly.
>
> [...]
Applied, thanks!
[1/1] RDMA/mlx4: Restrict external umem for CQ when copy_to_user() is used
https://git.kernel.org/rdma/rdma/c/1c47f6aa0a13d1
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>