Make vfio-pci built-in or xhci_hcd optional
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Thadeu Lima de Souza Cascardo | ||
Cosmic |
Invalid
|
Medium
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Thadeu Lima de Souza Cascardo | ||
linux-kvm (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Cosmic |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
This allows vfio-pci to be bound to certain devices during boot, preventing other drivers from binding them.
In particular, USB host drivers, like xhci_hcd, are hard to unbind, as USB devices may end up being used by applications.
[Test case]
Boot the system with vfio-pci.
[Regression potential]
Check that VFIO does not bind to any other device.
-------
Because of
nazar-pc@nazar-pc ~> cat '/boot/
CONFIG_
Following doesn't work:
nazar-pc@nazar-pc ~> cat /etc/modprobe.
options vfio-pci ids=10de:
softdep nouveau pre: vfio-pci
softdep xhci_hcd pre: vfio-pci
GPU is fine (first 2 IDs), but USB controller is always occupied by xhci_hcd and I can't change that while xhci_hcd is built-in.
I'd like you to resolve this issue by either embedding vfio-pci module too (prefered solution) or making xhci_hcd optional.
There are some discussions withot clean solution online like this: https:/
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-21-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version k4.15.0-21-generic.
ApportVersion: 2.20.10-0ubuntu2
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 1: S51 [SB Omni Surround 5.1], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/pcmC1D0c: nazar-pc 2226 F...m pulseaudio
/dev/snd/pcmC1D0p: nazar-pc 2226 F...m pulseaudio
/dev/snd/
Card1.Amixer.info:
Card hw:1 'S51'/'Creative Technology Ltd SB Omni Surround 5.1 at usb-0000:
Mixer name : 'USB Mixer'
Components : 'USB041e:322c'
Controls : 12
Simple ctrls : 5
CurrentDesktop: Custom
Date: Sat May 12 16:44:11 2018
IwConfig: Error: [Errno 2] Немає такого файла або каталогу: 'iwconfig': 'iwconfig'
MachineType: Micro-Star International Co., Ltd. MS-7B45
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.173
RfKill: Error: [Errno 2] Немає такого файла або каталогу: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/29/2018
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: A.51
dmi.board.
dmi.board.name: Z370 GAMING PRO CARBON (MS-7B45)
dmi.board.vendor: Micro-Star International Co., Ltd.
dmi.board.version: 2.0
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Micro-Star International Co., Ltd.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: Default string
dmi.product.name: MS-7B45
dmi.product.
dmi.sys.vendor: Micro-Star International Co., Ltd.
CVE References
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
description: | updated |
Changed in linux-kvm (Ubuntu Focal): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in linux-kvm (Ubuntu Cosmic): | |
status: | New → Invalid |
Changed in linux (Ubuntu Cosmic): | |
status: | Opinion → Invalid |
Changed in linux-kvm (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
status: | Fix Committed → In Progress |
Changed in linux-kvm (Ubuntu Focal): | |
status: | In Progress → Invalid |
This change was made by a bot.