]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf47c1a784d062a4ce833a6b6a5e24a8ff4ab0bf0
tree7f4e0c36960b591263bd591180631b403d578c27
parent5efd12691f1afdcc5af962801a05d168a151e3a7
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