thunderbolt: Power Management improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest19 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | thunderbolt: Optimize Force Power logicdrivers/ | +2 | 0 replies | |
| 2/19 | thunderbolt: Optimize NHI LC mailbox command processingdrivers/ | +1 | 0 replies | |
| 3/19 | thunderbolt: Software CM only should set force power in Tiger Lakedrivers/ | +16 | 0 replies | |
| 4/19 | thunderbolt: Use bit 31 to check if Firmware CM is running in Tiger Lakedrivers/ | +4 | 0 replies | |
| 5/19 | thunderbolt: Do not program NFC buffers for USB4 router protocol adaptersdrivers/ | +7 | 0 replies | |
| 6/19 | thunderbolt: No need to log an error if tb_switch_lane_bonding_enable() failsdrivers/ | +2 | 0 replies | |
| 7/19 | thunderbolt: Send reset only to first generation routersdrivers/ drivers/ drivers/ | +13 | 0 replies | |
| 8/19 | thunderbolt: Tear down DP tunnels when suspendingdrivers/ | +24 | 0 replies | |
| 9/19 | thunderbolt: Initialize TMU again on resumedrivers/ | +4 | 0 replies | |
| 10/19 | thunderbolt: Do not change default USB4 router notification timeoutdrivers/ | +1 | 0 replies | |
| 11/19 | thunderbolt: Configure link after lane bonding is enableddrivers/ drivers/ drivers/ +2 more | +49 | 0 replies | |
| 12/19 | thunderbolt: Set port configured for both ends of the linkdrivers/ drivers/ drivers/ +1 more | +87 | 0 replies | |
| 13/19 | thunderbolt: Configure port for XDomaindrivers/ drivers/ drivers/ +2 more | +134 | 0 replies | |
| 14/19 | thunderbolt: Disable lane 1 for XDomain connectiondrivers/ drivers/ drivers/ +1 more | +55 | 0 replies | |
| 15/19 | thunderbolt: Enable wakes from system suspenddrivers/ drivers/ drivers/ +4 more | +231 | 0 replies | |
| 16/19 | PCI / thunderbolt: Switch to use device links instead of PCI quirkdrivers/ drivers/ | +66 | 1 reply | |
| 17/19 | ACPI: Export acpi_get_first_physical_node() to modulesdrivers/ | +1 | 0 replies | |
| 18/19 | thunderbolt: Create device links from ACPI descriptiondrivers/ drivers/ drivers/ +1 more | +126 | 0 replies | |
| 19/19 | thunderbolt: Add runtime PM for Software CMdrivers/ drivers/ drivers/ | +136 | 0 replies |
Reviews trailers per patch
1 of 19 patches has a Reviewed-by or Acked-by.
| Patch | Bjorn Helgaas |
|---|---|
| 1/19 | |
| 2/19 | |
| 3/19 | |
| 4/19 | |
| 5/19 | |
| 6/19 | |
| 7/19 | |
| 8/19 | |
| 9/19 | |
| 10/19 | |
| 11/19 | |
| 12/19 | |
| 13/19 | |
| 14/19 | |
| 15/19 | |
| 16/19 | A-b |
| 17/19 | |
| 18/19 | |
| 19/19 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/19] thunderbolt: Power Management improvements
Hi all,
This series improves power management in the Thunderbolt driver. We already have a quite complete power management on systems where Firmware based Connection Manager is used (this is pretty much all non-Apple systems out there) so this series adds a couple of optimizations to make certain power transitions slightly faster, hopefully improving user experience.
Rest of the patches improve power management in the Software Connection manager side of the driver. USB4 spec covers power management for USB4 hosts and devices, and also TBT3 compatible devices so these patches implement that. We also switch to use device links instead of PCI quirk to make sure the Thunderbolt/USB4 host controller is resumed before tunneled PCIe and USB 3.x ports (so that it gets the chance to restore the tunnels properly before). Tiger Lake systems with Software Connection Manager enabled describe these relationships using a new ACPI _DSD property that we parse in the driver and populate device links accordingly.
Mika Westerberg (17):
thunderbolt: Software CM only should set force power in Tiger Lake
thunderbolt: Use bit 31 to check if Firmware CM is running in Tiger Lake
thunderbolt: Do not program NFC buffers for USB4 router protocol adapters
thunderbolt: No need to log an error if tb_switch_lane_bonding_enable() fails
thunderbolt: Send reset only to first generation routers
thunderbolt: Tear down DP tunnels when suspending
thunderbolt: Initialize TMU again on resume
thunderbolt: Do not change default USB4 router notification timeout
thunderbolt: Configure link after lane bonding is enabled
thunderbolt: Set port configured for both ends of the link
thunderbolt: Configure port for XDomain
thunderbolt: Disable lane 1 for XDomain connection
thunderbolt: Enable wakes from system suspend
PCI / thunderbolt: Switch to use device links instead of PCI quirk
ACPI: Export acpi_get_first_physical_node() to modules
thunderbolt: Create device links from ACPI description
thunderbolt: Add runtime PM for Software CM
Rajmohan Mani (2):
thunderbolt: Optimize Force Power logic
thunderbolt: Optimize NHI LC mailbox command processing
drivers/acpi/bus.c | 1 + drivers/pci/quirks.c | 57 -------- drivers/thunderbolt/Makefile | 2 + drivers/thunderbolt/acpi.c | 117 ++++++++++++++++ drivers/thunderbolt/domain.c | 2 + drivers/thunderbolt/icm.c | 5 +- drivers/thunderbolt/lc.c | 151 ++++++++++++++++---- drivers/thunderbolt/nhi.c | 69 ++++++++++ drivers/thunderbolt/nhi_ops.c | 31 +++-- drivers/thunderbolt/switch.c | 209 +++++++++++++++++++++++----- drivers/thunderbolt/tb.c | 189 +++++++++++++++++++++++-- drivers/thunderbolt/tb.h | 35 ++++- drivers/thunderbolt/tb_regs.h | 16 +++ drivers/thunderbolt/usb4.c | 251 ++++++++++++++++++++++++++-------- 14 files changed, 935 insertions(+), 200 deletions(-) create mode 100644 drivers/thunderbolt/acpi.c
Signature · 1 line
2.28.0