Skip to content

Commit fed70b6

Browse files
Reka Normangregkh
authored andcommitted
xhci: Apply XHCI_RESET_TO_DEFAULT quirk to ADL-N
ADL-N systems have the same issue as ADL-P, 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 ADL-N as well. This patch depends on commit 34cd2db ("xhci: Add quirk to reset host back to default state at shutdown"). The issue it fixes is a ~20s boot time delay when booting from S5. It affects ADL-N devices, and ADL-N support was added starting from v5.16. 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 2a25e66 commit fed70b6

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
@@ -59,6 +59,7 @@
5959
#define PCI_DEVICE_ID_INTEL_TIGER_LAKE_XHCI 0x9a13
6060
#define PCI_DEVICE_ID_INTEL_MAPLE_RIDGE_XHCI 0x1138
6161
#define PCI_DEVICE_ID_INTEL_ALDER_LAKE_PCH_XHCI 0x51ed
62+
#define PCI_DEVICE_ID_INTEL_ALDER_LAKE_N_PCH_XHCI 0x54ed
6263

6364
#define PCI_DEVICE_ID_AMD_RENOIR_XHCI 0x1639
6465
#define PCI_DEVICE_ID_AMD_PROMONTORYA_4 0x43b9
@@ -246,7 +247,8 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
246247
xhci->quirks |= XHCI_MISSING_CAS;
247248

248249
if (pdev->vendor == PCI_VENDOR_ID_INTEL &&
249-
pdev->device == PCI_DEVICE_ID_INTEL_ALDER_LAKE_PCH_XHCI)
250+
(pdev->device == PCI_DEVICE_ID_INTEL_ALDER_LAKE_PCH_XHCI ||
251+
pdev->device == PCI_DEVICE_ID_INTEL_ALDER_LAKE_N_PCH_XHCI))
250252
xhci->quirks |= XHCI_RESET_TO_DEFAULT;
251253

252254
if (pdev->vendor == PCI_VENDOR_ID_INTEL &&

0 commit comments

Comments
 (0)