diff options
author | Will Deacon <will.deacon@arm.com> | 2014-11-17 23:31:12 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-01-19 14:46:44 +0000 |
commit | fe4b991dcd84e0104cf2e29223a819335ed048a7 (patch) | |
tree | e5c7b24b7e4e2400023b3a89d4ae4ca63cf75c76 /drivers/iommu/Kconfig | |
parent | e1d3c0fd701df831169b116cd5c5d6203ac07f70 (diff) | |
download | lwn-fe4b991dcd84e0104cf2e29223a819335ed048a7.tar.gz lwn-fe4b991dcd84e0104cf2e29223a819335ed048a7.zip |
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/Kconfig | 9 |
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 sizes at both stage-1 and stage-2, as well as address spaces up to 48-bits in size. +config IOMMU_IO_PGTABLE_LPAE_SELFTEST + bool "LPAE selftests" + depends on IOMMU_IO_PGTABLE_LPAE + help + Enable self-tests for LPAE page table allocator. This performs + a series of page-table consistency checks during boot. + + If unsure, say N here. + endmenu config OF_IOMMU |