iommu/ipmmu-vmsa: Use the ARM LPAE page table allocator
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 20 Jan 2015 16:30:04 +0000 (18:30 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 26 Jan 2015 12:44:23 +0000 (13:44 +0100)
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 <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/Kconfig
drivers/iommu/ipmmu-vmsa.c

index 87060ad..b7c656c 100644 (file)
@@ -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
Simple merge