diff options
author | Magnus Damm <damm+renesas@opensource.se> | 2017-05-17 13:07:10 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2017-05-17 16:21:53 +0300 |
commit | 3ae47292024f85e82b769044c43f0bd13adcd7e8 (patch) | |
tree | 5f20407183ee70c6bfb104c362d6488af9118f63 /drivers/iommu/Kconfig | |
parent | 8e73bf659135ee7333d9a762bbdadb2ad794452f (diff) | |
download | linux-3ae47292024f85e82b769044c43f0bd13adcd7e8.tar.xz |
iommu/ipmmu-vmsa: Add new IOMMU_DOMAIN_DMA ops
Introduce an alternative set of iommu_ops suitable for 64-bit ARM
as well as 32-bit ARM when CONFIG_IOMMU_DMA=y. Also adjust the
Kconfig to depend on ARM or IOMMU_DMA. Initialize the device
from ->xlate() when CONFIG_IOMMU_DMA=y.
Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/Kconfig')
-rw-r--r-- | drivers/iommu/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index 6ee3a25ae731..504ba025a54c 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -274,6 +274,7 @@ config EXYNOS_IOMMU_DEBUG config IPMMU_VMSA bool "Renesas VMSA-compatible IPMMU" + depends on ARM || IOMMU_DMA depends on ARM_LPAE depends on ARCH_RENESAS || COMPILE_TEST select IOMMU_API |