summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/Kconfig
diff options
context:
space:
mode:
authorOhad Ben-Cohen <ohad@wizery.com>2011-06-02 03:20:08 +0300
committerJoerg Roedel <joerg.roedel@amd.com>2011-06-21 10:48:50 +0200
commitb10f127e1a4d8cac5414c6e2b152c205b66c9f16 (patch)
tree229fd151205405d0b0b78a857b4ac42c7da30df2 /drivers/iommu/Kconfig
parentab493a0f0f55d28636ac860ea682d57b84257f10 (diff)
downloadblackbird-op-linux-b10f127e1a4d8cac5414c6e2b152c205b66c9f16.tar.gz
blackbird-op-linux-b10f127e1a4d8cac5414c6e2b152c205b66c9f16.zip
msm: iommu: move to drivers/iommu/
This should ease finding similarities with different platforms, with the intention of solving problems once in a generic framework which everyone can use. Compile-tested for MSM8X60. Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com> Acked-by: David Brown <davidb@codeaurora.org> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu/Kconfig')
-rw-r--r--drivers/iommu/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index 2c5dfb48a22a..21a80bfbdb52 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -1,3 +1,19 @@
# IOMMU_API always gets selected by whoever wants it.
config IOMMU_API
bool
+
+# MSM IOMMU support
+config MSM_IOMMU
+ bool "MSM IOMMU Support"
+ depends on ARCH_MSM8X60 || ARCH_MSM8960
+ select IOMMU_API
+ help
+ Support for the IOMMUs found on certain Qualcomm SOCs.
+ These IOMMUs allow virtualization of the address space used by most
+ cores within the multimedia subsystem.
+
+ If unsure, say N here.
+
+config IOMMU_PGTABLES_L2
+ def_bool y
+ depends on MSM_IOMMU && MMU && SMP && CPU_DCACHE_DISABLE=n
OpenPOWER on IntegriCloud