[PATCH v3 0/5] dmaengine: Add dmaengine API to avoid call DMA Engine callback directly
From: Frank . Li
Date: Mon Oct 05 2026 - 05:43:46 EST
Add dmaengine APIs to avoid call DMA Engine callback directly. Prepare to
make dmaengine provider private.
Assisted-by: LLM
Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
---
Changes in v3:
- Remove tx_async part. only keep DMA API added.
- Link to v2: https://patch.msgid.link/20260923-dmaengine_prep_dma_pq-v2-0-32ed65b8a9b4@xxxxxxx
Changes in v2:
- Add more patch to cleanup crypto/async_tx
- collect https://lore.kernel.org/imx/b40fa0d7-fbd0-4ee8-b99c-781d08c18838@xxxxxxxxx/T/#t
- first two patches can be applied without added new dmaengine apis.
- Link to v1: https://patch.msgid.link/20260921-dmaengine_prep_dma_pq-v1-0-9563ed448260@xxxxxxx
---
Frank Li (5):
dmaengine: add dmaengine_prep_dma_(pq|pq_val|interrupt|xor)() API
dmaengine: add dmaengine_is_*_aligned() helpers for DMA consumers
dmaengine: add dmaengine_get_copy_align() and related alignment getter helpers
dmaengine: add dmaengine_get_cap_mask() and dmaengine_has_cap() helpers
dmaengine: add dmaengine_get_max_xor() helper
include/linux/dmaengine.h | 286 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 286 insertions(+)
---
base-commit: 5c4d4169604b335c38bbc79bc1fc03042981fc6f
change-id: 20260921-dmaengine_prep_dma_pq-7eba91a609ed
Best regards,
--
Frank Li <Frank.Li@xxxxxxx>