On Tue, 16 Jul 2024 19:55:32 +0530, Anumula Murali Mohan Reddy wrote: > dma_alloc_coherent() allocates contiguous memory irrespective of > iommu mode, but after commit f5ff79fddf0e ("dma-mapping: remove > CONFIG_DMA_REMAP") if iommu is enabled in translate mode, > dma_alloc_coherent() may allocate non-contiguous memory. > Attempt to map this memory results in panic. > This patch fixes the issue by using dma_mmap_coherent() to map each page > to user space. > > [...] Applied, thanks! [1/1] RDMA/cxgb4: use dma_mmap_coherent() for mapping non-contiguous memory https://git.kernel.org/rdma/rdma/c/75ab1533d79b04 Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>