Re: [PATCH] dell_rbu: stop abusing the DMA API

From: Darren Hart
Date: Fri Feb 01 2019 - 18:17:08 EST


On Fri, Feb 01, 2019 at 12:28:46PM -0600, Stuart Hayes wrote:
>
> On 1/29/2019 1:34 AM, Christoph Hellwig wrote:
> > For some odd reason dell_rbu actually seems to want the physical and
> > not a bus address for the allocated buffer. Lets assume that actually
> > is correct given that it is BIOS-related and that is a good source
> > of insanity. In that case we should not use dma_alloc_coherent with
> > a NULL device to allocate memory, but use GFP_DMA32 to stay under
> > the 32-bit BIOS limit.
> >
> > Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> > ---

...

>
> Acked-by: Stuart Hayes <stuart.w.hayes@xxxxxxxxx>
>

Ah, prematurely pulled in Mario - thanks Stuart.

--
Darren Hart
VMware Open Source Technology Center