Re: [PATCH 2/7] au1100fb: fix DMA API abuse

From: Christoph Hellwig
Date: Tue May 07 2019 - 02:37:28 EST


On Mon, May 06, 2019 at 03:49:35PM +0200, Bartlomiej Zolnierkiewicz wrote:
>
> On 04/30/2019 01:00 PM, Christoph Hellwig wrote:
> > Virtual addresses return from dma(m)_alloc_coherent are opaque in what
> > backs then, and drivers must not poke into them. Switch the driver
> > to use the generic DMA API mmap helper to avoid these games.
> >
> > Signed-off-by: Christoph Hellwig <hch@xxxxxx>
>
> Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx>

Given this actually fixes issues with the current driver, what do you
think of taking it for 5.2 through your tree? Also au1200fb has
basically the same issues, just without abusing the CAC_ADDR helper,
I could send you a patch for that one as well.