Re: [PATCH for-next v3] RDMA/core: Avoid hmm_dma_map_alloc() for virtual DMA devices
From: Leon Romanovsky
Date: Sun May 25 2025 - 03:51:19 EST
On Sat, 24 May 2025 14:43:28 +0000, Daisuke Matsuda wrote:
> Drivers such as rxe, which use virtual DMA, must not call into the DMA
> mapping core since they lack physical DMA capabilities. Otherwise, a NULL
> pointer dereference is observed as shown below. This patch ensures the RDMA
> core handles virtual and physical DMA paths appropriately.
>
> This fixes the following kernel oops:
>
> [...]
Applied, thanks!
[1/1] RDMA/core: Avoid hmm_dma_map_alloc() for virtual DMA devices
https://git.kernel.org/rdma/rdma/c/5071e94f47af42
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>