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