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

When added, this feature enables IOMMU support

Signed-off-by: Syed Johan Arif Bin Syed Mohamad Fauzi 
<syed.johan.arif.syed.mohamad.fa...@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

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to