[PATCH] dma-mapping: fix lack of DMA address assignment in generic remap allocator

2018-12-05 Thread Marek Szyprowski
Commit bfd56cd60521 ("dma-mapping: support highmem in the generic remap allocator") replaced dma_direct_alloc_pages() with __dma_direct_alloc_pages(), which doesn't set dma_handle and zero allocated memory. Fix it by doing this directly in the caller function. Fixes: bfd56cd60521 ("dma-mapping: su

Re: [PATCH] dma-mapping: fix lack of DMA address assignment in generic remap allocator

2018-12-05 Thread Thierry Reding
On Wed, Dec 05, 2018 at 11:14:01AM +0100, Marek Szyprowski wrote: > Commit bfd56cd60521 ("dma-mapping: support highmem in the generic remap > allocator") replaced dma_direct_alloc_pages() with __dma_direct_alloc_pages(), > which doesn't set dma_handle and zero allocated memory. Fix it by doing this

Re: [PATCH] dma-mapping: fix lack of DMA address assignment in generic remap allocator

2018-12-05 Thread Christoph Hellwig
Thanks, applied. ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu