[PATCH 0/6] async_tx: use DMA Engine APIs
From: Frank . Li
Date: Wed Oct 14 2026 - 15:44:16 EST
Use DMA Engine APIs to prepare make dma_device private.
Last patch mark async_tx as deprecated.
Depend on below two patches
https://lore.kernel.org/imx/20261014190337.1718622-1-Frank.Li@xxxxxxxxxxx/T/#u
base on https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git/
branch: next
Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
---
Frank Li (6):
async_tx: replace direct ->device_prep*() calls with standard DMA engine API
async_tx: use dmaengine_get_dma_device() instead of chan->device->dev
async_tx: use dmaengine_prep_dma_(pq|pq_val|interrupt|xor) instead of direct callback
async_tx: convert to dmaengine_is_*_aligned() helpers
async_tx: replace open-coded cap_mask accesses with dmaengine_has_cap()
async_tx: Mark as Deprecated in Kconfig
crypto/async_tx/Kconfig | 2 +-
crypto/async_tx/async_memcpy.c | 14 +++++------
crypto/async_tx/async_pq.c | 44 ++++++++++++++++----------------
crypto/async_tx/async_raid6_recov.c | 14 +++++------
crypto/async_tx/async_tx.c | 19 ++++----------
crypto/async_tx/async_xor.c | 50 +++++++++++++++++--------------------
include/linux/async_tx.h | 8 ++----
7 files changed, 65 insertions(+), 86 deletions(-)
---
base-commit: 547cb54c6fd39a610130c0beb2d85489bc914ea7
change-id: 20261014-async_tx_dma-4f69bf80176f
Best regards,
--
Frank Li <Frank.Li@xxxxxxx>