From: "Folker Schwesinger" <dev@folker-schwesinger.de>
To: "Rahul Navale" <rahulnavale04@gmail.com>
Cc: "Rahul Navale" <rahul.navale@ifm.com>,
<dmaengine@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, <vkoul@kernel.org>,
<Frank.Li@kernel.org>, <michal.simek@amd.com>,
<suraj.gupta2@amd.com>, <thomas.gessler@brueckmann-gmbh.de>,
<radhey.shyam.pandey@amd.com>, <tomi.valkeinen@ideasonboard.com>,
<marex@nabladev.com>, <marex@denx.de>
Subject: Re: [RFC PATCH] dmaengine: xilinx_dma: Fix per-channel direction reporting via device_caps
Date: Fri, 06 Mar 2026 10:38:19 +0000 [thread overview]
Message-ID: <DGVMUIOJEVMP.175UQQKV32PR4@folker-schwesinger.de> (raw)
In-Reply-To: <20260305112705.6862-1-rahulnavale04@gmail.com>
On Thu Mar 5, 2026 at 12:27 PM CET, Rahul Navale wrote:
> From: Rahul Navale <rahul.navale@ifm.com>
>
>>Could you confirm that the DMA IP core in your PL design operates in
>>scatter Gather mode?
>
> Yes, We confirmed that our DMA IP core in the PL design are configured
> for Scatter-Gather mode.
Thanks for confirming, this disproves the last theory. Please undo the
latest Xilinx DMA patch I sent.
To get some more data, could you apply the following patch (keep RFC
patch and debug stuff) and rerun with 7e01511443c3 a) applied and b)
reverted and post logs for both cases:
dmesg|grep ptr_res
<--8<-->
diff --git i/sound/soc/soc-generic-dmaengine-pcm.c w/sound/soc/soc-generic-dmaengine-pcm.c
index a63e942fdc0b..4635b199d020 100644
--- i/sound/soc/soc-generic-dmaengine-pcm.c
+++ w/sound/soc/soc-generic-dmaengine-pcm.c
@@ -280,11 +280,16 @@ static snd_pcm_uframes_t dmaengine_pcm_pointer(
struct snd_pcm_substream *substream)
{
struct dmaengine_pcm *pcm = soc_component_to_pcm(component);
+ snd_pcm_uframes_t ptr = 0;
- if (pcm->flags & SND_DMAENGINE_PCM_FLAG_NO_RESIDUE)
- return snd_dmaengine_pcm_pointer_no_residue(substream);
- else
- return snd_dmaengine_pcm_pointer(substream);
+ if (pcm->flags & SND_DMAENGINE_PCM_FLAG_NO_RESIDUE) {
+ ptr = snd_dmaengine_pcm_pointer_no_residue(substream);
+ printk("ptr_res_no: ptr = 0x%08lx\n", ptr);
+ } else {
+ ptr = snd_dmaengine_pcm_pointer(substream);
+ printk("ptr_res: ptr = 0x%08lx\n", ptr);
+ }
+ return ptr;
}
static int dmaengine_copy(struct snd_soc_component *component,
<-->8-->
next prev parent reply other threads:[~2026-03-06 10:38 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-17 18:49 Folker Schwesinger
2026-02-20 9:14 ` Rahul Navale
2026-02-20 9:30 ` Pandey, Radhey Shyam
2026-02-20 13:28 ` Rahul Navale
2026-02-20 19:09 ` Folker Schwesinger
2026-02-24 9:30 ` Rahul Navale
2026-02-24 15:10 ` Folker Schwesinger
2026-02-26 7:35 ` Rahul Navale
2026-02-26 20:06 ` Folker Schwesinger
2026-02-26 8:02 ` Rahul Navale
2026-03-02 7:24 ` Rahul Navale
2026-03-03 20:09 ` Folker Schwesinger
2026-03-03 20:19 ` Folker Schwesinger
2026-03-04 8:35 ` Rahul Navale
2026-03-04 14:49 ` Folker Schwesinger
2026-03-05 7:23 ` Rahul Navale
2026-03-05 8:22 ` Folker Schwesinger
2026-03-05 8:29 ` Rahul Navale
2026-03-05 8:32 ` Folker Schwesinger
2026-03-05 11:27 ` Rahul Navale
2026-03-06 10:38 ` Folker Schwesinger [this message]
2026-03-09 7:28 ` Rahul Navale
2026-03-14 8:35 ` Folker Schwesinger
2026-03-16 22:35 ` Marek Vasut
2026-03-14 8:45 ` Folker Schwesinger
2026-03-17 10:49 ` Rahul Navale
2026-03-17 17:20 ` Marek Vasut
2026-03-18 12:35 ` Rahul Navale
2026-03-27 14:51 ` Marek Vasut
2026-03-25 14:22 ` Rahul Navale
2026-03-27 11:43 ` Michal Simek
2026-03-30 12:21 ` Rahul Navale
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=DGVMUIOJEVMP.175UQQKV32PR4@folker-schwesinger.de \
--to=dev@folker-schwesinger.de \
--cc=Frank.Li@kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marex@denx.de \
--cc=marex@nabladev.com \
--cc=michal.simek@amd.com \
--cc=radhey.shyam.pandey@amd.com \
--cc=rahul.navale@ifm.com \
--cc=rahulnavale04@gmail.com \
--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
Powered by JetHome