summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorOliver Schib <lich000king@yahoo.de>2015-11-29 10:17:05 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-11-29 14:19:26 +0100
commitd5381fb96d4911391b9bdbe1726f6bac1ffb1a09 (patch)
tree2acd4d10d99ae0ffbef2e35fea39017b0ab36fb5 /target/linux
parentaf8c42072f2d80e99bf9966bf1c42d3e65e2b27c (diff)
Add support for Intel IOMMU
Signed-off-by: Oliver Schib <lich000king@yahoo.de> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/config/Config.in.bus3
-rw-r--r--target/linux/config/Config.in.misc22
2 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/config/Config.in.bus b/target/linux/config/Config.in.bus
index a8363dfe3..9921f5795 100644
--- a/target/linux/config/Config.in.bus
+++ b/target/linux/config/Config.in.bus
@@ -11,3 +11,6 @@ config ADK_KERNEL_PCI
config ADK_KERNEL_PCI_QUIRKS
bool
+
+config ADK_KERNEL_PCI_MSI
+ bool
diff --git a/target/linux/config/Config.in.misc b/target/linux/config/Config.in.misc
index 26c5decec..ec7b5afb4 100644
--- a/target/linux/config/Config.in.misc
+++ b/target/linux/config/Config.in.misc
@@ -41,6 +41,18 @@ config ADK_KERNEL_IMX_WEIM
default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
default n
+config ADK_KERNEL_INTEL_IOMMU
+ bool
+
+config ADK_KERNEL_IOMMU_API
+ bool
+
+config ADK_KERNEL_IOMMU_IOVA
+ bool
+
+config ADK_KERNEL_DMAR_TABLE
+ bool
+
menu "Miscellaneous devices support"
source "target/linux/config/Config.in.rtc"
@@ -108,5 +120,15 @@ config ADK_KERNEL_EEPROM_93CX6
tristate "93cx6 eeprom support"
depends on ADK_KERNEL_MAC80211
select ADK_KERNEL_MISC_DEVICES
+
+config ADK_KERNEL_IOMMU_SUPPORT
+ bool "IOMMU support for Intel"
+ select ADK_KERNEL_PCI_MSI
+ select ADK_KERNEL_INTEL_IOMMU
+ select ADK_KERNEL_IOMMU_API
+ select ADK_KERNEL_IOMMU_IOVA
+ select ADK_KERNEL_DMAR_TABLE
+ depends on ADK_TARGET_WITH_IOMMU
+ default y
endmenu