]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Avoid FLR for AMD Matisse HD Audio & USB 3.0
authorMarcos Scriven <marcos@scriven.org>
Wed, 20 May 2020 23:23:30 +0000 (18:23 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 27 May 2020 21:18:43 +0000 (16:18 -0500)
commit5a3ad320c2d82d8ab1e38e217e85f71a5c602dab
treea7e4b16a4d8ea1efd91496cf7595210d619ae068
parent15bd52996ffb20ef49eca2205512eb553091a442
PCI: Avoid FLR for AMD Matisse HD Audio & USB 3.0

The AMD Matisse HD Audio & USB 3.0 devices advertise Function Level Reset
support, but hang when an FLR is triggered.

To reproduce the problem, attach the device to a VM, then detach and try to
attach again.

Rename the existing quirk_intel_no_flr(), which was not Intel-specific, to
quirk_no_flr(), and apply it to prevent the use of FLR on these AMD
devices.

Link: https://lore.kernel.org/r/CAAri2DpkcuQZYbT6XsALhx2e6vRqPHwtbjHYeiH7MNp4zmt1RA@mail.gmail.com
Signed-off-by: Marcos Scriven <marcos@scriven.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/quirks.c