From: Laurent Pinchart Date: Tue, 20 Jan 2015 16:30:04 +0000 (+0200) Subject: iommu/ipmmu-vmsa: Use the ARM LPAE page table allocator X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~107^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f20ed39f53145e45edd27ff9fba5a60429c40bac;p=pandora-kernel.git iommu/ipmmu-vmsa: Use the ARM LPAE page table allocator Replace the custom page table allocation implementation with the standard allocator. The driver loses the ability to map 64kB chunkgs using the PTE contiguous hint, hence the removal of the SZ_64K page size from the IOMMU page sizes bitmap. Signed-off-by: Laurent Pinchart Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index 87060ad6829d..b7c656c84f51 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -313,6 +313,7 @@ config IPMMU_VMSA depends on ARM_LPAE depends on ARCH_SHMOBILE || COMPILE_TEST select IOMMU_API + select IOMMU_IO_PGTABLE_LPAE select ARM_DMA_USE_IOMMU help Support for the Renesas VMSA-compatible IPMMU Renesas found in the Reading git-diff-tree failed