iommu: add ARM LPAE page table allocator
authorWill Deacon <will.deacon@arm.com>
Fri, 14 Nov 2014 17:18:23 +0000 (17:18 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 19 Jan 2015 14:46:44 +0000 (14:46 +0000)
A number of IOMMUs found in ARM SoCs can walk architecture-compatible
page tables.

This patch adds a generic allocator for Stage-1 and Stage-2 v7/v8
long-descriptor page tables. 4k, 16k and 64k pages are supported, with
up to 4-levels of walk to cover a 48-bit address space.

Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
MAINTAINERS
drivers/iommu/Kconfig
drivers/iommu/Makefile
drivers/iommu/io-pgtable-arm.c [new file with mode: 0644]
drivers/iommu/io-pgtable.c
drivers/iommu/io-pgtable.h

index 3589d67..00b2786 100644 (file)
@@ -1589,6 +1589,7 @@ M:        Will Deacon <will.deacon@arm.com>
 L:     linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
 S:     Maintained
 F:     drivers/iommu/arm-smmu.c
+F:     drivers/iommu/io-pgtable-arm.c
 
 ARM64 PORT (AARCH64 ARCHITECTURE)
 M:     Catalin Marinas <catalin.marinas@arm.com>
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge