Thread (4 messages) flat view 4 messages, 1 author, 5d ago
COOLING5d

[PATCH 0/3] dmaengine: Add dmaengine_prep_dma_pq(_val)() API to avoid call DMA Engine callback directly

From: <hidden>
Date: 2026-09-21 23:09:16
Also in: imx, linux-crypto, lkml

Add dmaengine_prep_dma_pq(_val)() APIs to avoid call DMA Engine callback
directly. Prepare to make dmaengine provider private.

Use dma_async_issue_pending() replace call callback.

Assisted-by: LLM
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Frank Li (3):
      dmaengine: add dmaengine_prep_dma_pq(_val)() API
      async_tx: use dmaengine_prep_dma_pq(_val)() instead of direct callback
      async_tx: use dma_async_issue_pending() instead of direct callback

 crypto/async_tx/async_pq.c          | 22 +++++++++++-----------
 crypto/async_tx/async_raid6_recov.c |  8 ++++----
 include/linux/async_tx.h            |  8 ++------
 include/linux/dmaengine.h           | 25 +++++++++++++++++++++++++
 4 files changed, 42 insertions(+), 21 deletions(-)
---
base-commit: 5c4d4169604b335c38bbc79bc1fc03042981fc6f
change-id: 20260921-dmaengine_prep_dma_pq-7eba91a609ed

Best regards,
--  
Frank Li [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help