[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aR9otpWZkPZrb9ug@smile.fi.intel.com>
Date: Thu, 20 Nov 2025 21:15:02 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Bjorn Andersson <andersson@...nel.org>,
Stefan Wahren <wahrenst@....net>, Vinod Koul <vkoul@...nel.org>,
Thomas Andreatta <thomasandreatta2000@...il.com>,
Caleb Sander Mateos <csander@...estorage.com>,
dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-rpi-kernel@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-arm-msm@...r.kernel.org
Cc: Olivier Dautricourt <olivierdautricourt@...il.com>,
Stefan Roese <sr@...x.de>,
Florian Fainelli <florian.fainelli@...adcom.com>,
Broadcom internal kernel review list <bcm-kernel-feedback-list@...adcom.com>,
Ray Jui <rjui@...adcom.com>, Scott Branden <sbranden@...adcom.com>,
Lars-Peter Clausen <lars@...afoo.de>,
Eugeniy Paltsev <Eugeniy.Paltsev@...opsys.com>,
Daniel Mack <daniel@...que.org>,
Haojian Zhuang <haojian.zhuang@...il.com>,
Robert Jarzmik <robert.jarzmik@...e.fr>,
Lizhi Hou <lizhi.hou@....com>, Brian Xu <brian.xu@....com>,
Raj Kumar Rampelli <raj.kumar.rampelli@....com>,
Michal Simek <michal.simek@....com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH v3 00/13] dmaengine: introduce sg_nents_for_dma() and
convert users
On Thu, Nov 13, 2025 at 04:12:56PM +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.:
>
> drivers/crypto/chelsio/chcr_algo.c:154: nents += DIV_ROUND_UP(less, entlen);
> drivers/spi/spi-stm32.c:1495: /* Count the number of entries needed */
Vinod, what is your plan on the DMAengine patches? (Asking not only about this series)
Please, tell if anything needs to be done from my side to help them being pulled.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists