Re: [PATCH] dma-mapping: Stub out dma_{alloc,free,map}_pages() API

From: Mark Brown
Date: Mon Jun 16 2025 - 08:12:46 EST


On Mon, Jun 16, 2025 at 02:08:32PM +0200, Christoph Hellwig wrote:
> On Mon, Jun 16, 2025 at 01:06:00PM +0100, Mark Brown wrote:

> > The issue with HAS_DMA is that essentially all platforms have and rely
> > on DMA. This ends up just being painful noise from the buildbots when
> > they do randconfigs rather than something useful.

> In most case the driver really does depend on DMA to work, so just
> depend on HAS_DMA. If it can work without DMA, you can use IS_ENABLED.

Right, so you just end up with essentially every driver that isn't
already tied to a platform that needs DMA needing to add the dependency
which nobody is going to notice without doing build testing for
randconfigs or similar non-useful configs - it's not a productive use of
time.

Attachment: signature.asc
Description: PGP signature