| From e3f4bd3462f6f796594ecc0dda7144ed2d1e5a26 Mon Sep 17 00:00:00 2001 |
| From: Ingmar Klein <ingmar_klein@web.de> |
| Date: Fri, 9 Apr 2021 11:26:33 +0200 |
| Subject: PCI: Mark Atheros QCA6174 to avoid bus reset |
| MIME-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| From: Ingmar Klein <ingmar_klein@web.de> |
| |
| commit e3f4bd3462f6f796594ecc0dda7144ed2d1e5a26 upstream. |
| |
| When passing the Atheros QCA6174 through to a virtual machine, the VM hangs |
| at the point where the ath10k driver loads. |
| |
| Add a quirk to avoid bus resets on this device, which avoids the hang. |
| |
| [bhelgaas: commit log] |
| Link: https://lore.kernel.org/r/08982e05-b6e8-5a8d-24ab-da1488ee50a8@web.de |
| Signed-off-by: Ingmar Klein <ingmar_klein@web.de> |
| Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> |
| Reviewed-by: Pali Rohรกr <pali@kernel.org> |
| Cc: stable@vger.kernel.org |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| --- |
| drivers/pci/quirks.c | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| --- a/drivers/pci/quirks.c |
| +++ b/drivers/pci/quirks.c |
| @@ -3584,6 +3584,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_A |
| DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATHEROS, 0x003c, quirk_no_bus_reset); |
| DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATHEROS, 0x0033, quirk_no_bus_reset); |
| DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATHEROS, 0x0034, quirk_no_bus_reset); |
| +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATHEROS, 0x003e, quirk_no_bus_reset); |
| |
| /* |
| * Root port on some Cavium CN8xxx chips do not successfully complete a bus |