* [PATCH] xhci-pci: keep Titan Ridge active on MacBookPro15,1
@ 2026-07-30 21:06 Andre Eikmeyer
0 siblings, 0 replies; only message in thread
From: Andre Eikmeyer @ 2026-07-30 21:06 UTC (permalink / raw)
To: Mathias Nyman; +Cc: linux-usb, Andre Eikmeyer
On the MacBookPro15,1, the Titan Ridge xHCI controllers do not report
SuperSpeed connect events after runtime suspend when the firmware follows
its OSDW path. USB 2 devices routed through the PCH controller and
DisplayPort continue to work, while USB 3 mass-storage hotplug remains
completely silent. Writing on to the xHCI power/control attribute restores
detection.
We mark the Titan Ridge 4C xHCI controllers as unable to enter D3 during
xHCI quirk setup. The common xHCI PCI probe then keeps its runtime-PM
reference because pci_choose_state() returns D0, so the controller remains
able to report hotplug events.
The quirk is limited to the MacBookPro15,1 and has been tested on its 2018
and 2019 revisions. Suspend and repeated resume continue to work.
Signed-off-by: Andre Eikmeyer <dev@deq.rocks>
---
drivers/usb/host/xhci-pci.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index 6b3fcba44b08..6bc1a3c786c1 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -9,6 +9,7 @@
*/
#include <linux/pci.h>
+#include <linux/dmi.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/acpi.h>
@@ -347,6 +348,12 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
xhci->quirks |= XHCI_INTEL_HOST;
xhci->quirks |= XHCI_AVOID_BEI;
}
+
+ if (pdev->vendor == PCI_VENDOR_ID_INTEL &&
+ pdev->device == PCI_DEVICE_ID_INTEL_TITAN_RIDGE_4C_XHCI &&
+ dmi_match(DMI_PRODUCT_NAME, "MacBookPro15,1"))
+ pdev->dev_flags |= PCI_DEV_FLAGS_NO_D3;
+
if (pdev->vendor == PCI_VENDOR_ID_INTEL &&
pdev->device == PCI_DEVICE_ID_INTEL_PANTHERPOINT_XHCI) {
xhci->quirks |= XHCI_EP_LIMIT_QUIRK;
--
2.55.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-30 21:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-30 21:06 [PATCH] xhci-pci: keep Titan Ridge active on MacBookPro15,1 Andre Eikmeyer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.