From bdeaa74c3afc55e6c1e02ad917d47025e58af2e1 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 13 May 2020 16:28:03 +0200 Subject: [PATCH] config: make vfio-pci and {x,e,o,u}hci modules Since 5.4 Ubuntu makes vfio-pci builtin to allow vfio-pci to be bound to certain devices during boot, preventing other drivers from binding them. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1770845 Part of why this was done was because it mirrored Arch Linux choice in the past, but there where some issues and Arch Linux went back to modules again but this time making xhci_hcd and similar ?hci systems modules too. Tries to mirror the values used in the current Arch Linux config [0]. [0]: https://git.archlinux.org/svntogit/packages.git/tree/trunk/config?h=packages/linux&id=96121a8d6468c7067eb3759f6ca5e82f5f914f38 Signed-off-by: Thomas Lamprecht --- debian/rules | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/debian/rules b/debian/rules index d344d4c..57afae9 100755 --- a/debian/rules +++ b/debian/rules @@ -46,6 +46,21 @@ PVE_CONFIG_OPTS= \ -d CONFIG_MEMCG_DISABLED \ -e CONFIG_MEMCG_SWAP_ENABLED \ -e CONFIG_HYPERV \ +-m CONFIG_VFIO_IOMMU_TYPE1 \ +-m CONFIG_VFIO_VIRQFD \ +-m CONFIG_VFIO \ +-m CONFIG_VFIO_PCI \ +-m CONFIG_USB_XHCI_HCD \ +-m CONFIG_USB_XHCI_PCI \ +-m CONFIG_USB_EHCI_HCD \ +-m CONFIG_USB_EHCI_PCI \ +-m CONFIG_USB_EHCI_HCD_PLATFORM \ +-m CONFIG_USB_OHCI_HCD \ +-m CONFIG_USB_OHCI_HCD_PCI \ +-m CONFIG_USB_OHCI_HCD_PLATFORM \ +-d CONFIG_USB_OHCI_HCD_SSB \ +-m CONFIG_USB_UHCI_HCD \ +-d CONFIG_USB_SL811_HCD_ISO \ -e CONFIG_MEMCG_KMEM \ -d CONFIG_DEFAULT_CFQ \ -e CONFIG_DEFAULT_DEADLINE \