Skip to contentSkip to conversation

xhci: apply XHCI_PME_STUCK_QUIRK to Intel Comet Lake platforms

PATCH In review Mathias Nyman 2 participants 2 messages Feb 26, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xhci: apply XHCI_PME_STUCK_QUIRK to Intel Comet Lake platforms

[ Upstream commit a3ae87dce3a5abe0b57c811bab02b2564b574106 ]

Backport for 4.4, 4.9, 4.14, and 4.19 stable

Intel Comet Lake based platform require the XHCI_PME_STUCK_QUIRK quirk as well. Without this xHC can not enter D3 in runtime suspend.

---
 drivers/usb/host/xhci-pci.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/usb/host/xhci-pci.c +3 -1
index df86ea308415..5af57afb4e56 100644
@@ -53,6 +53,7 @@
 #define PCI_DEVICE_ID_INTEL_BROXTON_B_XHCI		0x1aa8
 #define PCI_DEVICE_ID_INTEL_APL_XHCI			0x5aa8
 #define PCI_DEVICE_ID_INTEL_DNV_XHCI			0x19d0
+#define PCI_DEVICE_ID_INTEL_CML_XHCI			0xa3af
 
 static const char hcd_name[] = "xhci_hcd";
 
@@ -169,7 +170,8 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
 		 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_M_XHCI ||
 		 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_B_XHCI ||
 		 pdev->device == PCI_DEVICE_ID_INTEL_APL_XHCI ||
-		 pdev->device == PCI_DEVICE_ID_INTEL_DNV_XHCI)) {
+		 pdev->device == PCI_DEVICE_ID_INTEL_DNV_XHCI ||
+		 pdev->device == PCI_DEVICE_ID_INTEL_CML_XHCI)) {
 		xhci->quirks |= XHCI_PME_STUCK_QUIRK;
 	}
 	if (pdev->vendor == PCI_VENDOR_ID_INTEL &&
Signature · 1 line
2.17.1
#1 lore raw
Quoted 3 lines · Mathias Nyman

[ Upstream commit a3ae87dce3a5abe0b57c811bab02b2564b574106 ]

Backport for 4.4, 4.9, 4.14, and 4.19 stable

Thanks for the backport, now queued up.

greg k-h