summaryrefslogtreecommitdiff
path: root/drivers/iommu/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iommu/Kconfig')
-rw-r--r--drivers/iommu/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index 3bd9fff5c589..b736809102df 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -162,4 +162,15 @@ config TEGRA_IOMMU_SMMU
space through the SMMU (System Memory Management Unit)
hardware included on Tegra SoCs.
+config TEGRA_IOMMU_SMMU_LINEAR
+ bool "Physical RAM IOVA Liner Mapping Support"
+ depends on TEGRA_IOMMU_SMMU
+ default y
+ help
+ Enables support for linear mapping between physical address
+ and IO virtual address for RAM. With this enabled, H/W can
+ expect virt_to_phys() to work even if it's behined the
+ IOMMU'able bus. Otherwise DMA API should be used correctly
+ in device drivers.
+
endif # IOMMU_SUPPORT