summaryrefslogtreecommitdiffstats
path: root/features/vfio
diff options
context:
space:
mode:
authorAdrian Stratulat <adrian.stratulat@enea.com>2020-06-09 13:10:17 +0200
committerAdrian Stratulat <adrian.stratulat@enea.com>2020-06-11 12:31:55 +0200
commit2e53208e8c1eaf83fb6b6411f8465f2bdf1d6069 (patch)
treea75c155496521cf9fb1931751aa573d8bb33a1ea /features/vfio
parent9153e7a0c6a10dfe5ada1661ab116068cfc364ee (diff)
downloadenea-kernel-cache-ampere-4.14.tar.gz
Add supporting config snippetsampere-4.14
Change-Id: Ic2f7c31c8ad274f4c3677320b81ccb0407612711 Signed-off-by: Adrian Stratulat <adrian.stratulat@enea.com>
Diffstat (limited to 'features/vfio')
-rw-r--r--features/vfio/vfio_m.cfg20
-rw-r--r--features/vfio/vfio_m.scc4
2 files changed, 24 insertions, 0 deletions
diff --git a/features/vfio/vfio_m.cfg b/features/vfio/vfio_m.cfg
new file mode 100644
index 0000000..f42b937
--- /dev/null
+++ b/features/vfio/vfio_m.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_m.scc b/features/vfio/vfio_m.scc
new file mode 100644
index 0000000..f971caf
--- /dev/null
+++ b/features/vfio/vfio_m.scc
@@ -0,0 +1,4 @@
1define KFEATURE_DESCRIPTION "Enable VFIO"
2define KFEATURE_COMPATIBILITY all
3
4kconf non-hardware vfio_m.cfg