summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Calianu <adrian.calianu@enea.com>2017-01-11 17:44:25 +0100
committerAdrian Calianu <adrian.calianu@enea.com>2017-01-11 17:44:25 +0100
commit1cd2607bb0937d79afc1f7331c0f93db555ee2d8 (patch)
tree8e7bdfa37c337561b79e0f0c68a9aaf28d774038
parentef6503a77222cf64a831704ec50b0ed7c16bb0e8 (diff)
downloadenea-kernel-cache-yocto-4.8.tar.gz
Virtual Function I/O configsyocto-4.8
vfio and vfio-pci kernel modules Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
-rw-r--r--features/vfio/vfio.cfg20
-rw-r--r--features/vfio/vfio.scc4
2 files changed, 24 insertions, 0 deletions
diff --git a/features/vfio/vfio.cfg b/features/vfio/vfio.cfg
new file mode 100644
index 0000000..f42b937
--- /dev/null
+++ b/features/vfio/vfio.cfg
@@ -0,0 +1,20 @@
1CONFIG_HAVE_INTEL_TXT=y
2CONFIG_PCI_PASID=y
3CONFIG_VFIO_IOMMU_TYPE1=y
4CONFIG_VFIO_VIRQFD=m
5CONFIG_VFIO=y
6# CONFIG_VFIO_NOIOMMU is not set
7CONFIG_VFIO_PCI=m
8# CONFIG_VFIO_PCI_VGA is not set
9CONFIG_VFIO_PCI_MMAP=y
10CONFIG_VFIO_PCI_INTX=y
11CONFIG_VFIO_PCI_IGD=y
12CONFIG_IOMMU_API=y
13CONFIG_IOMMU_IOVA=y
14CONFIG_DMAR_TABLE=y
15CONFIG_INTEL_IOMMU=y
16CONFIG_INTEL_IOMMU_SVM=y
17CONFIG_INTEL_IOMMU_DEFAULT_ON=y
18CONFIG_INTEL_IOMMU_FLOPPY_WA=y
19# CONFIG_INTEL_TXT is not set
20# CONFIG_KVM_DEVICE_ASSIGNMENT is not set
diff --git a/features/vfio/vfio.scc b/features/vfio/vfio.scc
new file mode 100644
index 0000000..c9369cb
--- /dev/null
+++ b/features/vfio/vfio.scc
@@ -0,0 +1,4 @@
1define KFEATURE_DESCRIPTION "Enable VFIO"
2define KFEATURE_COMPATIBILITY all
3
4kconf non-hardware vfio.cfg