Skip to content

Commit b4c87bc

Browse files
Reka Normangregkh
authored andcommitted
xhci: Apply XHCI_RESET_TO_DEFAULT quirk to TGL
TGL systems have the same issue as ADL, where a large boot firmware delay is seen if USB ports are left in U3 at shutdown. So apply the XHCI_RESET_TO_DEFAULT quirk to TGL as well. The issue it fixes is a ~20s boot time delay when booting from S5. It affects TGL devices, and TGL support was added starting from v5.3. Cc: [email protected] Signed-off-by: Reka Norman <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 1b349f2 commit b4c87bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/usb/host/xhci-pci.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
#define PCI_DEVICE_ID_INTEL_DENVERTON_XHCI 0x19d0
5151
#define PCI_DEVICE_ID_INTEL_ICE_LAKE_XHCI 0x8a13
5252
#define PCI_DEVICE_ID_INTEL_TIGER_LAKE_XHCI 0x9a13
53+
#define PCI_DEVICE_ID_INTEL_TIGER_LAKE_PCH_XHCI 0xa0ed
5354
#define PCI_DEVICE_ID_INTEL_COMET_LAKE_XHCI 0xa3af
5455
#define PCI_DEVICE_ID_INTEL_ALDER_LAKE_PCH_XHCI 0x51ed
5556
#define PCI_DEVICE_ID_INTEL_ALDER_LAKE_N_PCH_XHCI 0x54ed
@@ -373,7 +374,8 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
373374
xhci->quirks |= XHCI_MISSING_CAS;
374375

375376
if (pdev->vendor == PCI_VENDOR_ID_INTEL &&
376-
(pdev->device == PCI_DEVICE_ID_INTEL_ALDER_LAKE_PCH_XHCI ||
377+
(pdev->device == PCI_DEVICE_ID_INTEL_TIGER_LAKE_PCH_XHCI ||
378+
pdev->device == PCI_DEVICE_ID_INTEL_ALDER_LAKE_PCH_XHCI ||
377379
pdev->device == PCI_DEVICE_ID_INTEL_ALDER_LAKE_N_PCH_XHCI))
378380
xhci->quirks |= XHCI_RESET_TO_DEFAULT;
379381

0 commit comments

Comments
 (0)