diff options
author | Robin Murphy <robin.murphy@arm.com> | 2016-01-26 17:13:13 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-02-17 14:14:57 +0000 |
commit | e5fc9753b1a831466be9b45d0bf926eeaa8b84a0 (patch) | |
tree | 1ad4075104603c576ba895ab766f79a3222fdd46 /drivers/iommu/io-pgtable.c | |
parent | 18558cae0272f8fd9647e69d3fec1565a7949865 (diff) | |
download | linux-stable-e5fc9753b1a831466be9b45d0bf926eeaa8b84a0.tar.gz linux-stable-e5fc9753b1a831466be9b45d0bf926eeaa8b84a0.tar.bz2 linux-stable-e5fc9753b1a831466be9b45d0bf926eeaa8b84a0.zip |
iommu/io-pgtable: Add ARMv7 short descriptor support
Add a nearly-complete ARMv7 short descriptor implementation, omitting
only a few legacy and CPU-centric aspects which shouldn't be necessary
for IOMMU API use anyway.
Reviewed-by: Yong Wu <yong.wu@mediatek.com>
Tested-by: Yong Wu <yong.wu@mediatek.com>
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/iommu/io-pgtable.c')
-rw-r--r-- | drivers/iommu/io-pgtable.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/iommu/io-pgtable.c b/drivers/iommu/io-pgtable.c index 6f2e319d4f04..8c615b77bcc7 100644 --- a/drivers/iommu/io-pgtable.c +++ b/drivers/iommu/io-pgtable.c @@ -33,6 +33,9 @@ io_pgtable_init_table[IO_PGTABLE_NUM_FMTS] = [ARM_64_LPAE_S1] = &io_pgtable_arm_64_lpae_s1_init_fns, [ARM_64_LPAE_S2] = &io_pgtable_arm_64_lpae_s2_init_fns, #endif +#ifdef CONFIG_IOMMU_IO_PGTABLE_ARMV7S + [ARM_V7S] = &io_pgtable_arm_v7s_init_fns, +#endif }; struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt, |