mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/7] async_tx: use DMA Engine APIs
@ 2026-11-03 19:52 Frank.Li
  2026-11-03 19:52 ` [PATCH v2 1/7] async_tx: use dmaengine_desc_set_callback() Frank.Li
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Frank.Li @ 2026-11-03 19:52 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller
  Cc: linux-crypto, linux-kernel, dmaengine, imx, vkoul, Frank Li,
	Peng Fan, Dave Jiang

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@oss.nxp.com/T/#u

base on https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git/
branch: next

Remove whole async_tx RFC patch at
  https://lore.kernel.org/linux-crypto/20261015-asycn_tx_remove-v1-0-056a7085e0a1@nxp.com/

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Changes in v2:
- Add patch to call dmaengine_set_callback()
- collect david and peng fan's review by tags
- Link to v1: https://patch.msgid.link/20261014-async_tx_dma-v1-0-35790d01e190@nxp.com

---
Frank Li (7):
      async_tx: use dmaengine_desc_set_callback()
      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          | 25 ++++++-------------
 crypto/async_tx/async_xor.c         | 50 +++++++++++++++++--------------------
 include/linux/async_tx.h            |  8 ++----
 7 files changed, 67 insertions(+), 90 deletions(-)
---
base-commit: a2313814224c3944419186b273c8a29e7c8c37db
change-id: 20261014-async_tx_dma-4f69bf80176f

Best regards,
--  
Frank Li <Frank.Li@nxp.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-11-03 19:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 19:52 [PATCH v2 0/7] async_tx: use DMA Engine APIs Frank.Li
2026-11-03 19:52 ` [PATCH v2 1/7] async_tx: use dmaengine_desc_set_callback() Frank.Li
2026-11-03 19:52 ` [PATCH v2 2/7] async_tx: replace direct ->device_prep*() calls with standard DMA engine API Frank.Li
2026-11-03 19:52 ` [PATCH v2 3/7] async_tx: use dmaengine_get_dma_device() instead of chan->device->dev Frank.Li
2026-11-03 19:52 ` [PATCH v2 4/7] async_tx: use dmaengine_prep_dma_(pq|pq_val|interrupt|xor) instead of direct callback Frank.Li
2026-11-03 19:52 ` [PATCH v2 5/7] async_tx: convert to dmaengine_is_*_aligned() helpers Frank.Li
2026-11-03 19:52 ` [PATCH v2 6/7] async_tx: replace open-coded cap_mask accesses with dmaengine_has_cap() Frank.Li
2026-11-03 19:52 ` [PATCH v2 7/7] async_tx: Mark as Deprecated in Kconfig Frank.Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®