Skip to content

Commit

Permalink
kernel: vfio: flag vfio_virqfd as only kernel 6.2 and earlier
Browse files Browse the repository at this point in the history
Kernel 6.2 folded virqfd (eventd interface for VFIO interrupts)
into the base vfio module, it is no longer a tristate option.

Change suggested by vincejv on GitHub:
openwrt#14868 (comment)

Signed-off-by: Mathew McBride <matt@traverse.com.au>
  • Loading branch information
mcbridematt authored and namiltd committed Apr 2, 2024
1 parent 10f7608 commit 96c6880
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/kernel/linux/modules/virt.mk
Expand Up @@ -84,9 +84,9 @@ define KernelPackage/vfio
CONFIG_VFIO_MDEV=n
FILES:= \
$(LINUX_DIR)/drivers/vfio/vfio.ko \
$(LINUX_DIR)/drivers/vfio/vfio_virqfd.ko \
$(LINUX_DIR)/drivers/vfio/vfio_virqfd.ko@lt6.2 \
$(LINUX_DIR)/drivers/vfio/vfio_iommu_type1.ko
AUTOLOAD:=$(call AutoProbe,vfio vfio_iommu_type1 vfio_virqfd)
AUTOLOAD:=$(call AutoProbe,vfio vfio_iommu_type1 +LINUX_6_1:vfio_virqfd)
endef

define KernelPackage/vfio/description
Expand Down

0 comments on commit 96c6880

Please sign in to comment.