Re: [PATCH v2 1/9] dmaengine: Support bus widths of 32 bytes and above

Andy Shevchenko <[email protected]>
Newsgroups org.kernel.vger.linux-iio,org.kernel.vger.dmaengine
Organization Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo
Message-ID <[email protected]>
On Wed, Aug 12, 2026 at 10:38:57AM +0100, Nuno Sá wrote:
> On Wed, Aug 12, 2026 at 10:08:34AM +0100, Nuno Sá wrote:
> > On Tue, Aug 11, 2026 at 11:28:04PM +0530, Vinod Koul wrote:

...

> > Just remembered that bitmap.h is already included in dmaengine.h anyways. bitops.h
> > is because of __set/clear_bit().
> 
> So, simpler thing would be to move __dma_cap_zero() in dmaengine.c. But
> all other related things are inline APIs and we would be moving this one
> just because of something that live in dmaengine.h for a long time now.
> We could think about some dma-caps.h but that's honestly just out of
> scope for the current series and nothing I can really commit in doing.
> 
> Likely do the same for the bus_width API though I think the split
> header might also work. The one place where the new API will be almost
> always used is in the producer side (so drivers/dma).
> 
> But again, honestly, I'm just tempted in saying, let's leave it as-is.
> bitmap.h is already part of dmaengine.h anyways.

See my previous reply (I made it before reading this message).

-- 
With Best Regards,
Andy Shevchenko
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.