iommu: add self-consistency tests to ARM LPAE IO page table allocator
authorWill Deacon <will.deacon@arm.com>
Mon, 17 Nov 2014 23:31:12 +0000 (23:31 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 19 Jan 2015 14:46:44 +0000 (14:46 +0000)
commitfe4b991dcd84e0104cf2e29223a819335ed048a7
treee5c7b24b7e4e2400023b3a89d4ae4ca63cf75c76
parente1d3c0fd701df831169b116cd5c5d6203ac07f70
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>
drivers/iommu/Kconfig
drivers/iommu/io-pgtable-arm.c