Re: [PATCH 22/22] arm64: use swiotlb_alloc and swiotlb_free

2018-01-10 Thread Robin Murphy
On 10/01/18 08:09, Christoph Hellwig wrote: The generic swiotlb_alloc and swiotlb_free routines already take care of CMA allocations and adding GFP_DMA32 where needed, so use them instead of the arm specific helpers. It took a while to satisfy myself that the GFP_DMA(32) handling ends up

[PATCH 22/22] arm64: use swiotlb_alloc and swiotlb_free

2018-01-10 Thread Christoph Hellwig
The generic swiotlb_alloc and swiotlb_free routines already take care of CMA allocations and adding GFP_DMA32 where needed, so use them instead of the arm specific helpers. Signed-off-by: Christoph Hellwig --- arch/arm64/Kconfig | 1 + arch/arm64/mm/dma-mapping.c | 46