[PATCH 0/4] Enable runtime PM more broadly
From: Mario Limonciello
Date: Wed Oct 05 2022 - 16:23:56 EST
Currently every time a vendor introduces a new USB4 controller changes
need to be made in xhci-pci to add the PCI IDs representing the XHCI
controller used for tunneling.
Due to low power management needs every single integrated Intel and
AMD controller have needed to be added. As we already know which
controller is used for tunneling by the device links specified in
ACPI tables, this is a very good heuristic.
This series uses that as a heuristic, pulls out all the IDs added to
xhci-pci and then adds the new IDs for those *not* used for tunneling
on AMD's Pink Sardine (those are covered by the kernel today).
The original RFC that lead to this series and discussion related to
it is available here:
Mario Limonciello (4):
USB: ACPI: Look for `usb4-host-interface` property
xhci-pci: Move PCI IDs for runtime allow into a table
xhci-pci: Remove a number of controllers from the runtime PM allowlist
xhci-pci: Allow host runtime PM as default for AMD Pink Sardine
drivers/usb/core/usb-acpi.c | 9 +++++
drivers/usb/host/xhci-pci.c | 74 +++++++++++++++++--------------------
2 files changed, 43 insertions(+), 40 deletions(-)