public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Enable runtime PM more broadly
@ 2022-10-05 20:23 Mario Limonciello
  2022-10-05 20:23 ` [PATCH 1/4] USB: ACPI: Look for `usb4-host-interface` property Mario Limonciello
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Mario Limonciello @ 2022-10-05 20:23 UTC (permalink / raw)
  To: mathias.nyman, mika.westerberg, linux-usb
  Cc: Sanju.Mehta, Mario Limonciello, linux-kernel

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:
Link: https://lore.kernel.org/linux-usb/20221004041225.1462336-1-mario.limonciello@amd.com/T/#t

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(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-10-06  8:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-05 20:23 [PATCH 0/4] Enable runtime PM more broadly Mario Limonciello
2022-10-05 20:23 ` [PATCH 1/4] USB: ACPI: Look for `usb4-host-interface` property Mario Limonciello
2022-10-06  8:58   ` Mathias Nyman
2022-10-05 20:23 ` [PATCH 2/4] xhci-pci: Move PCI IDs for runtime allow into a table Mario Limonciello
2022-10-05 20:23 ` [PATCH 3/4] xhci-pci: Remove a number of controllers from the runtime PM allowlist Mario Limonciello
2022-10-05 20:23 ` [PATCH 4/4] xhci-pci: Allow host runtime PM as default for AMD Pink Sardine Mario Limonciello

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox