Re: [PATCH 1/3] dmaengine: Add multi-buffer support in single DMA transfer
From: Sumit Kumar
Date: Mon Mar 30 2026 - 01:29:10 EST
On 3/17/2026 4:24 PM, Vinod Koul wrote:
On 13-03-26, 12:19, Sumit Kumar wrote:I was not aware about this commit, I will bring back this change (only the core dma part).
Add dmaengine_prep_batch_sg API for batching multiple independent buffersLooks like you want to bring back dmaengine_prep_dma_sg() see commit c678fa66341c
in a single DMA transaction. Each scatter-gather entry specifies both
source and destination addresses. This allows multiple non-contiguous
Along with my changes was are integrated with the above commit.
As we are going back with the commit c678fa66341c we can ignore the current patch.memory regions to be transferred in a single DMA transaction instead ofIf this is memcpy why are you talking about dma_dst_address which is a
separate operations, significantly reducing submission overhead and
interrupt overhead.
Extends struct scatterlist with optional dma_dst_address field
and implements support in dw-edma driver.
slave field?
- Sumit