[PATCH 00/13][SRU][U/OEM-5.10] UBUNTU: SAUCE: Intel Thunderbolt4/USB4 Maple Ridge support

You-Sheng Yang vicamo.yang at canonical.com
Thu Dec 3 08:18:39 UTC 2020


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

[Impact]

New hardware support for Intel Thunderbolt4/USB4 controller codenamed Maple
Ridge, PCI ID 8086:1137.

[Fix]

Patchset titled "thunderbolt: USB4 NVM upgrade improvements & Maple
Ridge support" in
https://lore.kernel.org/lkml/20201119155523.41332-1-mika.westerberg@linux.intel.com/
currently landed in thunderbolt tree as commit 45ef561abcdd
("thunderbolt: Move max_boot_acl field to correct place in struct icm")
targeting v5.11, as well as commit 62233f88fda2 ("xhci-pci: Allow host
runtime PM as default for Intel Maple Ridge xHCI") from the xHCI tree
also targeting v5.11.

[Test Case]

1. attach thunderbolt docking to the port connecting to a Maple Ridge
controller,
2. use `boltctl list` to enumerate thunderbolt devices connected

[Where problems could occur]

These changes introduce a proxy for USB4 route operations with fallback
to native one depending on the protocol version, so it doesn't seem to
affect exsiting devices.

Mika Westerberg (13):
  thunderbolt: Move max_boot_acl field to correct place in struct icm
  thunderbolt: Log which connection manager implementation is used
  thunderbolt: Log adapter numbers in decimal in path
    activation/deactivation
  thunderbolt: Keep the parent runtime resumed for a while on device
    disconnect
  thunderbolt: Return -ENOTCONN when ERR_CONN is received
  thunderbolt: Perform USB4 router NVM upgrade in two phases
  thunderbolt: Pass metadata directly to usb4_switch_op()
  thunderbolt: Pass TX and RX data directly to usb4_switch_op()
  thunderbolt: Add connection manager specific hooks for USB4 router
    operations
  thunderbolt: Move constants for USB4 router operations to tb_regs.h
  thunderbolt: Add USB4 router operation proxy for firmware connection
    manager
  thunderbolt: Add support for Intel Maple Ridge
  xhci-pci: Allow host runtime PM as default for Intel Maple Ridge xHCI

 drivers/thunderbolt/ctl.c     |   3 +
 drivers/thunderbolt/icm.c     | 240 ++++++++++++++++++++++++++++--
 drivers/thunderbolt/nhi.h     |   1 +
 drivers/thunderbolt/path.c    |   4 +-
 drivers/thunderbolt/switch.c  |  20 ++-
 drivers/thunderbolt/tb.c      |   2 +
 drivers/thunderbolt/tb.h      |  14 ++
 drivers/thunderbolt/tb_msgs.h |  28 ++++
 drivers/thunderbolt/tb_regs.h |  14 ++
 drivers/thunderbolt/usb4.c    | 269 ++++++++++++++++++++--------------
 drivers/usb/host/xhci-pci.c   |   4 +-
 11 files changed, 476 insertions(+), 123 deletions(-)

-- 
2.29.2




More information about the kernel-team mailing list