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
---
drivers/video/fbdev/au1100fb.c | 24 ---
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
Ac
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
On Tue, May 7, 2019 at 8:37 AM Christoph Hellwig wrote:
> 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
FYI, I've merged this patch into the dma-mapping tree to make progress
with the generic uncached segment support for mips.