Re: [PATCH v3 4/4] dmaengine: dma-axi-dmac: Fig BUG() on vunmap()

From: Frank Li

Date: Thu Apr 09 2026 - 23:12:36 EST


On Wed, Apr 08, 2026 at 01:42:43PM +0100, Nuno Sá wrote:

Subject need update to:
use DMA pool to manange DMA descriptor

> For architectures like Microblaze or arm64 (where this IP is used),
> DMA_DIRECT_REMAP is set which means that dma_alloc_coherent() might
> remap (and hence vmalloc()) some memory. This became visible in a design
> where dma_direct_use_pool() is not possible.
>
> With the above, when calling dma_free_coherent(), vunmap() would be
> called from softirq context and thus leading to a BUG().

Add fixes tag

Frank
> 2.53.0
>