]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
UBUNTU: SAUCE: PCI: Avoid FLR for AMD Matisse HD Audio & USB 3.0
authorMarcos Scriven <marcos@scriven.org>
Tue, 2 Jun 2020 06:04:39 +0000 (14:04 +0800)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Mon, 22 Jun 2020 20:21:25 +0000 (17:21 -0300)
commitc5178c9be9cf4fd6b9c9bc0aad1c56ce5d3fbd73
tree9c6b7294aa7eb6ea373c7744527bbdadd3108fdf
parent1dcc51646da3eaff668342a6124b9ccefdd47add
UBUNTU: SAUCE: PCI: Avoid FLR for AMD Matisse HD Audio & USB 3.0

BugLink: https://bugs.launchpad.net/bugs/1865988
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>
(cherry picked from commit 0d14f06cd6657ba3446a5eb780672da487b068e7
https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/?h=pci/virtualization)
Signed-off-by: You-Sheng Yang <vicamo.yang@canonical.com>
Acked-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
Acked-by: Sultan Alsawaf <sultan.alsawaf@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/pci/quirks.c