Re: [PATCH 1/3] dmaengine: Add multi-buffer support in single DMA transfer
Sumit Kumar <[email protected]> Mon, 30 Mar 2026 10:58:50 +0530
| Newsgroups | dev.linux.lists.mhi,dev.linux.lists.iommu,org.kernel.vger.dmaengine,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci |
|---|---|
| Message-ID | <[email protected]> |
On 3/17/2026 4:24 PM, Vinod Koul wrote: > On 13-03-26, 12:19, Sumit Kumar wrote: >> Add dmaengine_prep_batch_sg API for batching multiple independent buffers >> in a single DMA transaction. Each scatter-gather entry specifies both >> source and destination addresses. This allows multiple non-contiguous > Looks like you want to bring back dmaengine_prep_dma_sg() see commit c678fa66341c I was not aware about this commit, I will bring back this change (only the core dma part). Along with my changes was are integrated with the above commit. >> memory regions to be transferred in a single DMA transaction instead of >> 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. > If this is memcpy why are you talking about dma_dst_address which is a > slave field? As we are going back with the commit c678fa66341c we can ignore the current patch. - Sumit