From: Vinod Koul <vkoul@kernel.org>
To: Bjorn Andersson <andersson@kernel.org>,
Stefan Wahren <wahrenst@gmx.net>,
Thomas Andreatta <thomasandreatta2000@gmail.com>,
Caleb Sander Mateos <csander@purestorage.com>,
dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-rpi-kernel@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Olivier Dautricourt <olivierdautricourt@gmail.com>,
Stefan Roese <sr@denx.de>,
Florian Fainelli <florian.fainelli@broadcom.com>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@broadcom.com>,
Ray Jui <rjui@broadcom.com>,
Scott Branden <sbranden@broadcom.com>,
Lars-Peter Clausen <lars@metafoo.de>,
Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>,
Daniel Mack <daniel@zonque.org>,
Haojian Zhuang <haojian.zhuang@gmail.com>,
Robert Jarzmik <robert.jarzmik@free.fr>,
Lizhi Hou <lizhi.hou@amd.com>, Brian Xu <brian.xu@amd.com>,
Raj Kumar Rampelli <raj.kumar.rampelli@amd.com>,
Michal Simek <michal.simek@amd.com>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH v3 00/13] dmaengine: introduce sg_nents_for_dma() and convert users
Date: Fri, 09 Jan 2026 08:44:08 +0530 [thread overview]
Message-ID: <176792844895.658957.498171043788217178.b4-ty@kernel.org> (raw)
In-Reply-To: <20251113151603.3031717-1-andriy.shevchenko@linux.intel.com>
On Thu, 13 Nov 2025 16:12:56 +0100, Andy Shevchenko wrote:
> A handful of the DMAengine drivers use same routine to calculate the number of
> SG entries needed for the given DMA transfer. Provide a common helper for them
> and convert.
>
> I left the new helper on SG level of API because brief grepping shows potential
> candidates outside of DMA engine, e.g.:
>
> [...]
Applied, thanks!
[01/13] scatterlist: introduce sg_nents_for_dma() helper
commit: 80c70bfb95cdbe0c644070f4ca4754a60f0a4830
[02/13] dmaengine: altera-msgdma: use sg_nents_for_dma() helper
commit: 47f5cb7878cc62ed95981c5d02862b253eddb590
[03/13] dmaengine: axi-dmac: use sg_nents_for_dma() helper
commit: 024ae9d3092c425f3ea6eae92086a2001ca2e0c7
[04/13] dmaengine: bcm2835-dma: use sg_nents_for_dma() helper
commit: 39110c68500a149664bafb0c174baef0d42e2129
[05/13] dmaengine: dw-axi-dmac: use sg_nents_for_dma() helper
commit: 5d6ceb254fa9ac1f50932c42a0a9a8bedaa3190d
[06/13] dmaengine: k3dma: use sg_nents_for_dma() helper
commit: 3fc49d21f3a46866724ff8ef8a79c6e2cd9d7676
[07/13] dmaengine: lgm: use sg_nents_for_dma() helper
commit: f9b0274f53a2d464e71f37e8f4d0d0dc41321259
[08/13] dmaengine: pxa-dma: use sg_nents_for_dma() helper
commit: 068942eaa232ba752b744d98ff8ab22b26c8bff4
[09/13] dmaengine: qcom: adm: use sg_nents_for_dma() helper
commit: 425f871d7acdb521d67c2578e6ae688a751d1e80
[10/13] dmaengine: qcom: bam_dma: use sg_nents_for_dma() helper
commit: 107fdf0c4e944030bf544aea98e8ae8537914177
[11/13] dmaengine: sa11x0: use sg_nents_for_dma() helper
commit: d7785661010e2fe113aec2500f988a8e73ac3e7b
[12/13] dmaengine: sh: use sg_nents_for_dma() helper
commit: ac326dca6870f0d8e0787e94b1d9c2c91bb358d7
[13/13] dmaengine: xilinx: xdma: use sg_nents_for_dma() helper
commit: 3c8a86ed002ab8fb287ee4ec92f0fd6ac5b291d2
Best regards,
--
~Vinod
prev parent reply other threads:[~2026-01-09 3:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-13 15:12 [PATCH v3 00/13] dmaengine: introduce sg_nents_for_dma() and convert users Andy Shevchenko
2025-11-13 15:12 ` [PATCH v3 01/13] scatterlist: introduce sg_nents_for_dma() helper Andy Shevchenko
2025-11-13 15:12 ` [PATCH v3 02/13] dmaengine: altera-msgdma: use " Andy Shevchenko
2025-11-13 15:12 ` [PATCH v3 03/13] dmaengine: axi-dmac: " Andy Shevchenko
2025-11-13 15:13 ` [PATCH v3 04/13] dmaengine: bcm2835-dma: " Andy Shevchenko
2025-11-13 15:13 ` [PATCH v3 05/13] dmaengine: dw-axi-dmac: " Andy Shevchenko
2025-11-13 15:13 ` [PATCH v3 06/13] dmaengine: k3dma: " Andy Shevchenko
2025-11-13 15:13 ` [PATCH v3 07/13] dmaengine: lgm: " Andy Shevchenko
2025-11-13 15:13 ` [PATCH v3 08/13] dmaengine: pxa-dma: " Andy Shevchenko
2025-11-13 15:13 ` [PATCH v3 09/13] dmaengine: qcom: adm: " Andy Shevchenko
2025-11-13 15:13 ` [PATCH v3 10/13] dmaengine: qcom: bam_dma: " Andy Shevchenko
2025-11-13 15:13 ` [PATCH v3 11/13] dmaengine: sa11x0: " Andy Shevchenko
2025-11-13 15:13 ` [PATCH v3 12/13] dmaengine: sh: " Andy Shevchenko
2025-11-13 15:13 ` [PATCH v3 13/13] dmaengine: xilinx: xdma: " Andy Shevchenko
2025-11-20 19:15 ` [PATCH v3 00/13] dmaengine: introduce sg_nents_for_dma() and convert users Andy Shevchenko
2025-11-21 12:06 ` Vinod Koul
2025-11-21 14:32 ` Andy Shevchenko
2026-01-09 3:14 ` Vinod Koul [this message]
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=176792844895.658957.498171043788217178.b4-ty@kernel.org \
--to=vkoul@kernel.org \
--cc=Eugeniy.Paltsev@synopsys.com \
--cc=akpm@linux-foundation.org \
--cc=andersson@kernel.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=brian.xu@amd.com \
--cc=csander@purestorage.com \
--cc=daniel@zonque.org \
--cc=dmaengine@vger.kernel.org \
--cc=florian.fainelli@broadcom.com \
--cc=haojian.zhuang@gmail.com \
--cc=lars@metafoo.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rpi-kernel@lists.infradead.org \
--cc=lizhi.hou@amd.com \
--cc=michal.simek@amd.com \
--cc=olivierdautricourt@gmail.com \
--cc=raj.kumar.rampelli@amd.com \
--cc=rjui@broadcom.com \
--cc=robert.jarzmik@free.fr \
--cc=sbranden@broadcom.com \
--cc=sr@denx.de \
--cc=thomasandreatta2000@gmail.com \
--cc=wahrenst@gmx.net \
/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