Re: [PATCH 0/2] firmware: cs_dsp: Remove usage of GFP_DMA
From: Mark Brown
Date: Thu Feb 13 2025 - 10:26:04 EST
On Thu, Feb 13, 2025 at 02:28:06PM +0000, Richard Fitzgerald wrote:
> On 11/02/2025 5:21 pm, Richard Fitzgerald wrote:
> > > Not tested on real hardware.
> > > This came up while porting kunit to mips64.
> > > Apparently GFP_DMA does not work there, but IMO the usage of GFP_DMA by
> I would say that is a bug in mips64 that should be fixed in mips64.
> It is not reasonable to expect generic drivers to have special cases for
> platforms that don't handle GFP_DMA.
What specifically is the issue? If it's a build time issue I'd
definitely agree that we should just be able to assume that platforms at
least build. IIRC there is a Kconfig you can depend on for DMA but it
seems more trouble than it's worth to fix all users.
Attachment:
signature.asc
Description: PGP signature