]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: Mark LSI FW643 to avoid bus reset
authorEdmund Raile <edmund.raile@proton.me>
Tue, 27 Feb 2024 13:14:18 +0000 (13:14 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 29 Feb 2024 22:52:04 +0000 (16:52 -0600)
commit29a43dc130ce65d365a8ea9e1cc4bc51005a353e
treea45510863b2f91a37409abaf13a7297ea2013bb7
parent6613476e225e090cc9aad49be7fa504e290dd33d
PCI: Mark LSI FW643 to avoid bus reset

Apparently the LSI / Agere FW643 can't recover after a Secondary Bus Reset
and requires a power-off or suspend/resume and rescan.

VFIO resets a device before assigning it to a VM, and the FW643 doesn't
support any other reset methods, so this problem prevented assignment of
FW643 to VMs.

Prevent use of Secondary Bus Reset for this device.

With this change, the FW643 can be assigned to VMs with VFIO.  Note that it
will not be reset, resulting in leaking state between VMs and host.

Link: https://lore.kernel.org/r/20240227131401.17913-1-edmund.raile@proton.me
Signed-off-by: Edmund Raile <edmund.raile@proton.me>
[bhelgaas: commit log, comment]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/quirks.c