[PATCH 0/7] dmaengine: xilinx_dma: MCDMA descriptor and metadata handling improvements
Srinivas Neeli
srinivas.neeli at amd.com
Thu Feb 12 05:51:39 PST 2026
This series improves the AXI MCDMA driver with fixes and enhancements for
descriptor handling and metadata reporting. The first patch fixes a bug
where the driver was using generic descriptor field names for both MM2S
and S2MM directions, even though the hardware uses different field layouts.
This could lead to incorrect residue calculations and descriptor
completion detection. The second patch updates device tree bindings to
move xlnx,irq-delay to the common section. The third patch adds proper
completion bit checking for MCDMA descriptors, which is essential when
interrupt delay timeout is enabled to avoid prematurely freeing
descriptors. Patches 4-7 extend metadata support for MCDMA. When the
AXI4-stream status/control interface is present, metadata is provided
through APP fields. When this interface is absent, the series adds support
for reporting transferred byte count through the status field, enabling
clients to track transfer progress in both configurations.
Device tree binding documentation is updated accordingly to support these
enhancements.
Srinivas Neeli (4):
dmaengine: xilinx_dma: Fix MCDMA descriptor fields for MM2S vs S2MM
dt-bindings: dmaengine: xilinx_dma: Move xlnx,irq-delay to common AXI
DMA and MCDMA section
dmaengine: xilinx_dma: Move descriptors to done list based on
completion bit
dt-bindings: xilinx-dma: Extend 'xlnx,axistream-connected' property to
MCDMA
Suraj Gupta (3):
dmaengine: xilinx_dma: Extend metadata handling for AXI MCDMA
dt-bindings: dmaengine: xilinx_dma: Add "xlnx,include-stscntrl-strm"
property
dmaengine: xilinx_dma: Add support for reporting transfer size to AXI
DMA / MCDMA client when app fields are unavailable
.../bindings/dma/xilinx/xilinx_dma.txt | 9 +-
drivers/dma/xilinx/xilinx_dma.c | 93 ++++++++++++++++---
2 files changed, 86 insertions(+), 16 deletions(-)
--
2.25.1
More information about the linux-arm-kernel
mailing list