Re: [PATCH v2 00/12] dmaengine: Add dmaengine API to avoid call DMA Engine callback directly

From: Vinod Koul

Date: Fri Oct 09 2026 - 06:18:18 EST



On Wed, 23 Sep 2026 12:19:29 -0400, Frank.Li@xxxxxxxxxxx wrote:
> Add dmaengine APIs to avoid call DMA Engine callback directly. Prepare to
> make dmaengine provider private.
>
> Fix all under crypto/async_tx
>
> Build pass under crypto/async_tx after change dma_device *device to _device.
> to make sure all code use dmaengine APIs.
>
> [...]

Applied, thanks!

[01/12] async_tx: replace direct ->device_prep*() calls with standard DMA engine API
(no commit info)
[02/12] async_tx: use dmaengine_get_dma_device() instead of chan->device->dev
(no commit info)
[03/12] dmaengine: add dmaengine_prep_dma_(pq|pq_val|interrupt|xor)() API
commit: 4bdb88eb5496cb09902b9778ca7f4628c43b0d77
[04/12] dmaengine: add dmaengine_is_*_aligned() helpers for DMA consumers
commit: 11e801ccaca78c9d92b1f3a9733772bf9d2c079c
[05/12] dmaengine: add dmaengine_get_copy_align() and related alignment getter helpers
commit: 072975a8a578a62ea68ec1ceb8d2d7dcfb5dfefa
[06/12] dmaengine: add dmaengine_get_cap_mask() and dmaengine_has_cap() helpers
commit: bbc109e0e686266d784483df108af206bc52e120
[07/12] dmaengine: add dmaengine_get_max_xor() helper
commit: bff69558d64a98bc8d03f373d1331223c3428a2c
[08/12] dmaengine: change dmaengine_get_unmap_data() first arg to dma_chan
(no commit info)
[09/12] dmaengine: replace dma_maxqp() with dmaengine_maxpq() taking struct dma_chan *
(no commit info)
[10/12] async_tx: use dmaengine_prep_dma_(pq|pq_val|interrupt|xor) instead of direct callback
(no commit info)
[11/12] async_tx: convert to dmaengine_is_*_aligned() helpers
(no commit info)
[12/12] async_tx: replace open-coded cap_mask accesses with dmaengine_has_cap()
(no commit info)

Best regards,
--
~Vinod