Re: [PATCH v2] ARM: dma-mapping: always clear allocated buffers

2018-09-15 Thread YueHaibing
Ping. On 2018/7/25 15:07, YueHaibing wrote: > Sean Wang reported dma_zalloc_coherent doesn't work as expect on his > armv7,the allocated mem is not zeroed.The reason is __alloc_from_pool > doesn't honor __GFP_ZERO. > > As commit 6829e274a623 ("arm64: dma-mapping: always clear allocated

Re: [PATCH v2] ARM: dma-mapping: always clear allocated buffers

2018-08-21 Thread YueHaibing
Russell, will you pick this patch? On 2018/7/25 15:13, YueHaibing wrote: > +CC Christoph Hellwig > > On 2018/7/25 15:07, YueHaibing wrote: >> Sean Wang reported dma_zalloc_coherent doesn't work as expect on his >> armv7,the allocated mem is not zeroed.The reason is __alloc_from_pool >>

Re: [PATCH v2] ARM: dma-mapping: always clear allocated buffers

2018-07-25 Thread YueHaibing
+CC Christoph Hellwig On 2018/7/25 15:07, YueHaibing wrote: > Sean Wang reported dma_zalloc_coherent doesn't work as expect on his > armv7,the allocated mem is not zeroed.The reason is __alloc_from_pool > doesn't honor __GFP_ZERO. > > As commit 6829e274a623 ("arm64: dma-mapping: always clear

[PATCH v2] ARM: dma-mapping: always clear allocated buffers

2018-07-25 Thread YueHaibing
Sean Wang reported dma_zalloc_coherent doesn't work as expect on his armv7,the allocated mem is not zeroed.The reason is __alloc_from_pool doesn't honor __GFP_ZERO. As commit 6829e274a623 ("arm64: dma-mapping: always clear allocated buffers") has pointed out,buffers allocated by