]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: use swiotlb_alloc and swiotlb_free
authorChristoph Hellwig <hch@lst.de>
Sun, 24 Dec 2017 12:53:50 +0000 (13:53 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 Jan 2018 08:36:02 +0000 (09:36 +0100)
commit0d8488ac1b68d6e2a3a8aa732c45e290e3ae0805
tree4d04056cb99186c32572a5ced0904ba1bc78e0ef
parentad67f5a6545f7fda8ec11d7a81e325a398e1a90f
arm64: use swiotlb_alloc and swiotlb_free

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 <hch@lst.de>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
arch/arm64/Kconfig
arch/arm64/mm/dma-mapping.c