[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <86ad0f01-1c07-4a9d-bb63-3ddf8f88d988@app.fastmail.com>
Date: Mon, 16 Jun 2025 13:28:05 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "James Clark" <james.clark@...aro.org>, "Christoph Hellwig" <hch@....de>
Cc: "Vladimir Oltean" <olteanv@...il.com>, "Mark Brown" <broonie@...nel.org>,
oe-kbuild-all@...ts.linux.dev, "Larisa Grigore" <larisa.grigore@....com>,
"Frank Li" <Frank.li@....com>, linux-spi@...r.kernel.org,
imx@...ts.linux.dev, linux-kernel@...r.kernel.org,
"kernel test robot" <lkp@...el.com>,
"Marek Szyprowski" <m.szyprowski@...sung.com>,
"Robin Murphy" <robin.murphy@....com>, iommu@...ts.linux.dev
Subject: Re: [PATCH] dma-mapping: Stub out dma_{alloc,free,map}_pages() API
On Mon, Jun 16, 2025, at 13:17, James Clark wrote:
> The implementations are in mapping.c which requires HAS_DMA so stub them
> out if not present. This is required for some drivers to pass randconfig
> builds.
>
> Reported-by: kernel test robot <lkp@...el.com>
> Closes:
> https://lore.kernel.org/oe-kbuild-all/202506160036.t9VDxF6p-lkp@intel.com/
> Signed-off-by: James Clark <james.clark@...aro.org>
Looks good to me
Acked-by: Arnd Bergmann <arnd@...db.de>
It may be worth adding here that HAS_DMA is set on almost
all configurations, this only showed up as an error in
a randconfig build for m68k/dragonball, which is barely
supported at all.
The other two architectures without DMA support are sh-nommu
and uml.
Arnd
Powered by blists - more mailing lists