Re: [PATCH v3 1/2] dmaengine: change dmaengine_get_unmap_data() first arg to dma_chan
From: Peng Fan
Date: Wed Oct 14 2026 - 22:51:07 EST
Hi Frank,
Seems Patch 2/2 is not sent out?
On Wed, Oct 14, 2026 at 03:03:24PM -0400, Frank.Li@xxxxxxxxxxx wrote:
>From: Frank Li <Frank.Li@xxxxxxx>
>
>Replace the struct device *dev argument with struct dma_chan *chan so
>callers do not need to reach into the dma_device internals to obtain
>the device pointer. The implementation now derives the device via
>dmaengine_get_dma_device(chan), which correctly handles the per-channel
>IOMMU mapping case.
>
>Prepare to make dma_device private and make dmaengine API consistent.
>
>Acked-by: Dave Jiang <dave.jiang@xxxxxxxxx>
>Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
>---
>V3 split from origianl thread
>https://lore.kernel.org/dmaengine/20260923-dmaengine_prep_dma_pq-v2-0-32ed65b8a9b4@xxxxxxx/
>V2 change collect Dave Jiang ack tags
>v1 version at
>https://lore.kernel.org/imx/b40fa0d7-fbd0-4ee8-b99c-781d08c18838@xxxxxxxxx/T/#t
>---
> crypto/async_tx/async_memcpy.c | 4 ++--
> crypto/async_tx/async_pq.c | 8 ++++----
> crypto/async_tx/async_raid6_recov.c | 8 ++++----
> crypto/async_tx/async_xor.c | 8 ++++----
> drivers/dma/dmaengine.c | 4 ++--
> drivers/dma/dmatest.c | 2 +-
> drivers/dma/mv_xor.c | 4 ++--
> drivers/ntb/ntb_transport.c | 4 ++--
> drivers/ntb/test/ntb_perf.c | 2 +-
> include/linux/dmaengine.h | 4 ++--
> 10 files changed, 24 insertions(+), 24 deletions(-)
>
Reviewed-by: Peng Fan <peng.fan@xxxxxxx>