aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathew McBride <matt@traverse.com.au>2023-08-25 06:00:40 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2023-09-16 21:00:38 +0200
commitc79854e9fc8bb3e20c0f22116bbe76ff353a9322 (patch)
tree3f9cd7f2487f98759b29bdf86ece560975d29cfb
parentc90005c58a90337454a4a1796f5f1d7065c45a7b (diff)
downloadupstream-c79854e9fc8bb3e20c0f22116bbe76ff353a9322.tar.gz
upstream-c79854e9fc8bb3e20c0f22116bbe76ff353a9322.tar.bz2
upstream-c79854e9fc8bb3e20c0f22116bbe76ff353a9322.zip
kernel: vfio: remove unneeded enable_unsafe_noiommu_mode parameter
The vfio module only exposes the enable_unsafe_noiommu_mode parameter if CONFIG_VFIO_NOIOMMU is enabled. When it isn't, the module will complain about an unknown parameter: vfio: unknown parameter 'enable_unsafe_noiommu_mode' ignored As CONFIG_VFIO_NOIOMMU is disabled by the module package, we can remove the module loading parameter. Signed-off-by: Mathew McBride <matt@traverse.com.au> (cherry picked from commit 7ad8612a23add071608815e3c78a477c4fbad0d3)
-rw-r--r--package/kernel/linux/modules/virt.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/virt.mk b/package/kernel/linux/modules/virt.mk
index 1d9caa9bc8..6d255cb176 100644
--- a/package/kernel/linux/modules/virt.mk
+++ b/package/kernel/linux/modules/virt.mk
@@ -82,8 +82,6 @@ define KernelPackage/vfio
CONFIG_VFIO \
CONFIG_VFIO_NOIOMMU=n \
CONFIG_VFIO_MDEV=n
- MODPARAMS.vfio:=\
- enable_unsafe_noiommu_mode=n
FILES:= \
$(LINUX_DIR)/drivers/vfio/vfio.ko \
$(LINUX_DIR)/drivers/vfio/vfio_virqfd.ko \