aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/Kconfig
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2014-11-17 18:31:12 -0500
committerWill Deacon <will.deacon@arm.com>2015-01-19 09:46:44 -0500
commitfe4b991dcd84e0104cf2e29223a819335ed048a7 (patch)
treee5c7b24b7e4e2400023b3a89d4ae4ca63cf75c76 /drivers/iommu/Kconfig
parente1d3c0fd701df831169b116cd5c5d6203ac07f70 (diff)
iommu: add self-consistency tests to ARM LPAE IO page table allocator
This patch adds a series of basic self-consistency tests to the ARM LPAE IO page table allocator that exercise corner cases in map/unmap, as well as testing all valid configurations of pagesize, ias and stage. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/iommu/Kconfig')
-rw-r--r--drivers/iommu/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index 306454fbc52d..9fd9909867cd 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -28,6 +28,15 @@ config IOMMU_IO_PGTABLE_LPAE
28 sizes at both stage-1 and stage-2, as well as address spaces 28 sizes at both stage-1 and stage-2, as well as address spaces
29 up to 48-bits in size. 29 up to 48-bits in size.
30 30
31config IOMMU_IO_PGTABLE_LPAE_SELFTEST
32 bool "LPAE selftests"
33 depends on IOMMU_IO_PGTABLE_LPAE
34 help
35 Enable self-tests for LPAE page table allocator. This performs
36 a series of page-table consistency checks during boot.
37
38 If unsure, say N here.
39
31endmenu 40endmenu
32 41
33config OF_IOMMU 42config OF_IOMMU