Re: [PATCH] RDMA/uverbs: select CONFIG_DMA_SHARED_BUFFER
From: Leon Romanovsky
Date: Tue Feb 17 2026 - 08:18:50 EST
On Mon, Feb 16, 2026 at 01:12:00PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> The addition of dmabuf support in uverbs means that it is no
> longer possible to build infiniband support if that is disabled:
>
> arm-linux-gnueabi-ld: drivers/infiniband/core/ib_core_uverbs.o: in function `rdma_user_mmap_entry_remove.part.0':
> ib_core_uverbs.c:(.text+0x508): undefined reference to `dma_buf_move_notify'
> (dma_buf_move_notify): Unknown destination type (ARM/Thumb) in drivers/infiniband/core/ib_core_uverbs.o
> ib_core_uverbs.c:(.text+0x518): undefined reference to `dma_resv_wait_timeout'
> (dma_resv_wait_timeout): Unknown destination type (ARM/Thumb) in drivers/infiniband/core/ib_core_uverbs.o
>
> Select this from Kconfig, as we do for the other users.
>
> Fixes: 0ac6f4056c4a ("RDMA/uverbs: Add DMABUF object type and operations")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> drivers/infiniband/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
It looks reasonable to me. dma-buf is becoming a first‑class citizen in the
RDMA world.
Thanks,
Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>