aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorMathew McBride <matt@traverse.com.au>2023-08-06 21:19:44 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2023-08-29 23:41:05 +0200
commit9ac01aac0a820f2c48b2ab26628a8c90fb005f20 (patch)
treea03e504e53b55a24bfc2d0c07724d470b077aac9 /package/kernel/linux
parent7ad8612a23add071608815e3c78a477c4fbad0d3 (diff)
downloadupstream-9ac01aac0a820f2c48b2ab26628a8c90fb005f20.tar.gz
upstream-9ac01aac0a820f2c48b2ab26628a8c90fb005f20.tar.bz2
upstream-9ac01aac0a820f2c48b2ab26628a8c90fb005f20.zip
kernel: enable vfio and vfio-pci for armsr-armv8
Arm platforms with the right hardware blocks (such as GICv3.0+ interrupt controller and SMMU/IOMMU) are able to use vfio-pci to pass through PCI devices to a VM. Signed-off-by: Mathew McBride <matt@traverse.com.au>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/virt.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/virt.mk b/package/kernel/linux/modules/virt.mk
index 6d255cb1766..f45cb176147 100644
--- a/package/kernel/linux/modules/virt.mk
+++ b/package/kernel/linux/modules/virt.mk
@@ -77,7 +77,7 @@ $(eval $(call KernelPackage,kvm-amd))
define KernelPackage/vfio
SUBMENU:=Virtualization
TITLE:=VFIO Non-Privileged userspace driver framework
- DEPENDS:=@TARGET_x86_64
+ DEPENDS:=@TARGET_x86_64||TARGET_armsr_armv8
KCONFIG:= \
CONFIG_VFIO \
CONFIG_VFIO_NOIOMMU=n \
@@ -99,7 +99,7 @@ $(eval $(call KernelPackage,vfio))
define KernelPackage/vfio-pci
SUBMENU:=Virtualization
TITLE:=Generic VFIO support for any PCI device
- DEPENDS:=@TARGET_x86_64 @PCI_SUPPORT +kmod-vfio +kmod-irqbypass
+ DEPENDS:=@TARGET_x86_64||TARGET_armsr_armv8 @PCI_SUPPORT +kmod-vfio +kmod-irqbypass
KCONFIG:= \
CONFIG_VFIO_PCI \
CONFIG_VFIO_PCI_IGD=n