[OEM-OSP1-B] [PATCH 0/4] Make hotplugging docking station to Thunderbolt port more reliable

Kai-Heng Feng kai.heng.feng at canonical.com
Sun Dec 15 17:28:22 UTC 2019

BugLink: https://bugs.launchpad.net/bugs/1853991

Sometimes USB ports and USB ethernet on Thunderbolt Docking don't work
after hotplugging.

Add proper link delay when PCIe devices transit out from D3cold.

Tested with Dell WD19DC docking station on Dell XPS 9380. After applying
the fix, the USB ports on docking always work after hotplugging.

[Regression Potential]
Low. This patch series adds proper delay required by PCIe spec, and only
affects hotplug ports, i.e. Thunderbolt.

Mika Westerberg (3):
  PCI: Make pcie_downstream_port() available outside of access.c
  PCI/PM: Add pcie_wait_for_link_delay()
  PCI/PM: Add missing link delays required by the PCIe spec

Rafael J. Wysocki (1):
  PCI: PM: Avoid skipping bus-level PM on platforms without ACPI

 drivers/pci/access.c     |   9 ---
 drivers/pci/pci-driver.c |  17 +++--
 drivers/pci/pci.c        | 142 +++++++++++++++++++++++++++++++++++++--
 drivers/pci/pci.h        |  10 +++
 include/linux/suspend.h  |  26 ++++++-
 kernel/power/suspend.c   |   3 +
 6 files changed, 187 insertions(+), 20 deletions(-)


More information about the kernel-team mailing list