[PATCH v3 0/3] dmaengine: dw-edma: Prepare channels for remote use
From: Koichiro Den
Date: Thu Sep 03 2026 - 02:46:59 EST
Hi,
This small series contains standalone refactoring and new infrastructure
for dmaengine and dw-edma.
It prepares PCIe EPC-local DMA channels for remote use. The upcoming
vNTB-embedded DMA support [1] will be the first user and depend on this
series.
[1] https://lore.kernel.org/r/20260831182657.329614-1-den@xxxxxxxxxxxxx/
(This is v3. I will send v4 shortly.)
Best regards,
Koichiro
---
Changes in v3:
- Rework patch 2 to use a common channel configuration, retain generic
dma_slave_config fields, and close the shared-IRQ routing race.
(Frank, Sashiko)
- No code changes in patches 1 and 3.
Changes in v2:
- Split and rework vNTB v1 patches 1, 4, and 5 into this prerequisite
series.
- Fold in the relevant PCI DMA EPF v7 review.
v2: https://lore.kernel.org/r/20260828163611.2691264-1-den@xxxxxxxxxxxxx/
v1: https://lore.kernel.org/r/20260312165005.1148676-1-den@xxxxxxxxxxxxx/
Koichiro Den (3):
dmaengine: Allow drivers to assign static channel IDs
dmaengine: dw-edma: Configure remote interrupt routing
dmaengine: dw-edma: Account for the MSI vector offset
drivers/dma/dmaengine.c | 13 ++-
drivers/dma/dw-edma/dw-edma-core.c | 160 +++++++++++++++++++++--------
drivers/dma/dw-edma/dw-edma-core.h | 5 +-
include/linux/dma/edma.h | 19 ++++
include/linux/dmaengine.h | 20 ++++
5 files changed, 170 insertions(+), 47 deletions(-)
base-commit: cee9395acd8043be0644b25c34bfa86623f2b935
--
2.51.0