On Wed, Feb 20, 2019 at 10:29:49AM +0100, Yann Sionneau wrote:
> I'm not sure dma_alloc_coherent() should return zeroed out memory.
> 
> I'm pretty sure it does not.
> 
> mips arch seems to memset it to 0, but not all arch do that.

Christoph Hellwig had a patch series that zeroed memory for
all archs on dma_alloc_coherent() and friends.
https://lkml.org/lkml/2018/12/14/103

barebox should do the same as I see it.

I recall the patch series is applied but I did not check.

        Sam

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to