arm64: Use swiotlb late initialisation
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 27 Feb 2014 12:24:57 +0000 (12:24 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 27 Feb 2014 14:11:53 +0000 (14:11 +0000)
commit3690951fc6d42f3a0903987677d0e592c49dd8db
tree7f4e0c36960b591263bd591180631b403d578c27
parent19e7640d1f2302c20df2733e3e3df49acb17189e
arm64: Use swiotlb late initialisation

Since arm64 does not support ISA, there is no need for early swiotlb
initialisation. This patch switches the DMA mapping code to
swiotlb_tlb_late_init_with_default_size(). A side effect of this is that
GFP_DMA is used for the swiotlb buffer and devices with a 32-bit
coherent mask are correctly supported.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/dma-mapping.c
arch/arm64/mm/init.c