mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Srinivas Neeli <srinivas.neeli@amd.com>
To: <vkoul@kernel.org>
Cc: <michal.simek@amd.com>, <robh@kernel.org>, <krzk+dt@kernel.org>,
	<conor+dt@kernel.org>, <suraj.gupta2@amd.com>,
	<abin.joseph@amd.com>, <radhey.shyam.pandey@amd.com>,
	<dev@folker-schwesinger.de>, <thomas.gessler@brueckmann-gmbh.de>,
	<tomi.valkeinen@ideasonboard.com>, <dmaengine@vger.kernel.org>,
	<devicetree@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>, <git@amd.com>,
	<srinivas.neeli@amd.com>
Subject: [PATCH 0/7] dmaengine: xilinx_dma: MCDMA descriptor and metadata handling improvements
Date: Thu, 12 Feb 2026 19:21:39 +0530	[thread overview]
Message-ID: <20260212135146.1185416-1-srinivas.neeli@amd.com> (raw)

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


             reply	other threads:[~2026-02-12 13:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-12 13:51 Srinivas Neeli [this message]
2026-02-12 13:51 ` [PATCH 1/7] dmaengine: xilinx_dma: Fix MCDMA descriptor fields for MM2S vs S2MM Srinivas Neeli
2026-02-12 13:51 ` [PATCH 2/7] dt-bindings: dmaengine: xilinx_dma: Move xlnx,irq-delay to common AXI DMA and MCDMA section Srinivas Neeli
2026-02-12 16:30   ` Krzysztof Kozlowski
2026-02-12 13:51 ` [PATCH 3/7] dmaengine: xilinx_dma: Move descriptors to done list based on completion bit Srinivas Neeli
2026-02-12 13:51 ` [PATCH 4/7] dt-bindings: xilinx-dma: Extend 'xlnx,axistream-connected' property to MCDMA Srinivas Neeli
2026-02-12 13:51 ` [PATCH 5/7] dmaengine: xilinx_dma: Extend metadata handling for AXI MCDMA Srinivas Neeli
2026-02-12 13:51 ` [PATCH 6/7] dt-bindings: dmaengine: xilinx_dma: Add "xlnx,include-stscntrl-strm" property Srinivas Neeli
2026-02-12 16:29   ` Krzysztof Kozlowski
2026-02-12 13:51 ` [PATCH 7/7] dmaengine: xilinx_dma: Add support for reporting transfer size to AXI DMA / MCDMA client when app fields are unavailable Srinivas Neeli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260212135146.1185416-1-srinivas.neeli@amd.com \
    --to=srinivas.neeli@amd.com \
    --cc=abin.joseph@amd.com \
    --cc=conor+dt@kernel.org \
    --cc=dev@folker-schwesinger.de \
    --cc=devicetree@vger.kernel.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=git@amd.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.simek@amd.com \
    --cc=radhey.shyam.pandey@amd.com \
    --cc=robh@kernel.org \
    --cc=suraj.gupta2@amd.com \
    --cc=thomas.gessler@brueckmann-gmbh.de \
    --cc=tomi.valkeinen@ideasonboard.com \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®