diff options
author | Will Deacon <will.deacon@arm.com> | 2014-11-17 18:31:12 -0500 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-01-19 09:46:44 -0500 |
commit | fe4b991dcd84e0104cf2e29223a819335ed048a7 (patch) | |
tree | e5c7b24b7e4e2400023b3a89d4ae4ca63cf75c76 /drivers/iommu/Kconfig | |
parent | e1d3c0fd701df831169b116cd5c5d6203ac07f70 (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/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 | |||
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 | ||
31 | config 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 | |||
31 | endmenu | 40 | endmenu |
32 | 41 | ||
33 | config OF_IOMMU | 42 | config OF_IOMMU |