You are not logged in.

#1 2018-10-16 22:16:34

disco
Member
Registered: 2016-05-18
Posts: 11

Update to Linux 4.18.11 or greater causes vfio to not bind to device

I have what was a stable OVMF PCI passthrough configuration, until updating to 4.18.11 (and 4.18.14).

In /etc/modprobe.d/vfio.conf I specify several devices to be attached to vfio to use in passthrough to my VM.

One of the devices is a USB3.0 controller.   

After updating, I noticed my sound devices were incorrectly ordered.    A device that normally is only visible to the VM was suddenly accessible within linux.

After some digging, I found the driver bound to the device was xhci_pci rather than vfio-pci.    Checking the logs showed that VFIO did claim to bind to the device as usual, prior to the XHCI driver loading.   

My /etc/mkinitcpio.conf does include the vfio.conf and associated script, and I can confirm this worked persistently prior to the 4.18.11 kernel (and works again after downgrading.)

I looked through the changelog for 4.18.11 and I don't see anything that stands out, but I'm no kernel developer.

Is anyone aware if this issue is known upstream?    Any suggestions?

Thanks

Offline

#2 2018-10-17 01:20:08

disco
Member
Registered: 2016-05-18
Posts: 11

Re: Update to Linux 4.18.11 or greater causes vfio to not bind to device

This is somehow related to this I believe:

https://bugs.archlinux.org/task/60272

Offline

Board footer

Powered by FluxBB