On 5/20/19 9:50 AM, Arnd Bergmann wrote: > Ok, that sounds reasonable, yes. I'm not sure if > dma_alloc_coherent() guarantees zero-initialization > though, so if that is required, you may have to > add a memset(). I had dma_zalloc_coherent() originally but I think Christoph Hellwig posted something recently that removed that function, because dma_alloc_coherent() always zeroes the underlying memory.
+Christoph, who might be able to explain or confirm
-Alex

