Re: [PATCH 4/7] dma-direct: provide generic support for uncached kernel segments

From: Christoph Hellwig
Date: Wed May 01 2019 - 13:49:41 EST


On Wed, May 01, 2019 at 05:40:34PM +0000, Paul Burton wrote:
> > > If it is necessary then as-is this code will clear the allocated memory
> > > using uncached writes which will be pretty slow. It would be much more
> > > efficient to perform the memset before arch_dma_prep_coherent() & before
> > > converting ret to an uncached address.
> >
> > Yes, we could do that.
>
> Great; using cached writes would match the existing MIPS behavior.

Can you test the stack with the two updated patches and ack them if
they are fine? That would allow getting at least the infrastructure
and mips in for this merge window.