[linux-yocto] [kernel-cache][PATCH 2/8] features/iommu: add IOMMU feature

Syed Mohamad Fauzi, Syed Johan Arif syed.johan.arif.syed.mohamad.fauzi at intel.com
Wed Aug 2 04:05:45 PDT 2017


From: Syed Johan Arif Bin Syed Mohamad Fauzi <syed.johan.arif.syed.mohamad.fauzi at intel.com>

When added, this feature enables IOMMU support

Signed-off-by: Syed Johan Arif Bin Syed Mohamad Fauzi <syed.johan.arif.syed.mohamad.fauzi at intel.com>
---
 features/iommu/iommu.cfg | 7 +++++++
 features/iommu/iommu.scc | 3 +++
 2 files changed, 10 insertions(+)
 create mode 100644 features/iommu/iommu.cfg
 create mode 100644 features/iommu/iommu.scc

diff --git a/features/iommu/iommu.cfg b/features/iommu/iommu.cfg
new file mode 100644
index 0000000..fd6ada0
--- /dev/null
+++ b/features/iommu/iommu.cfg
@@ -0,0 +1,7 @@
+CONFIG_PCI_PRI=y
+CONFIG_PCI_PASID=y
+CONFIG_IOMMU_API=y
+CONFIG_IOMMU_IOVA=y
+CONFIG_INTEL_IOMMU=y
+CONFIG_INTEL_IOMMU_DEFAULT_ON=n
+CONFIG_INTEL_IOMMU_FLOPPY_WA=y
diff --git a/features/iommu/iommu.scc b/features/iommu/iommu.scc
new file mode 100644
index 0000000..637a8cc
--- /dev/null
+++ b/features/iommu/iommu.scc
@@ -0,0 +1,3 @@
+define KFEATURE_DESCRIPTION "Enable iommu support"
+
+kconf hardware iommu.cfg
-- 
1.9.1



More information about the linux-yocto mailing list