Skip to content

thunderbolt: USB4 NVM upgrade improvements & Maple Ridge support

Mika Westerberg lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12thunderbolt: Move max_boot_acl field to correct place in struct icmdrivers/thunderbolt/icm.c+1 -10 replies
2/12thunderbolt: Log which connection manager implementation is useddrivers/thunderbolt/icm.c drivers/thunderbolt/tb.c+4 -00 replies
3/12thunderbolt: Log adapter numbers in decimal in path activation/deactivationdrivers/thunderbolt/path.c+2 -20 replies
4/12thunderbolt: Keep the parent runtime resumed for a while on device disconnectdrivers/thunderbolt/icm.c+11 -00 replies
5/12thunderbolt: Return -ENOTCONN when ERR_CONN is receiveddrivers/thunderbolt/ctl.c+3 -00 replies
6/12thunderbolt: Perform USB4 router NVM upgrade in two phasesdrivers/thunderbolt/switch.c drivers/thunderbolt/tb.h drivers/thunderbolt/tb_regs.h +1 more+77 -200 replies
7/12thunderbolt: Pass metadata directly to usb4_switch_op()drivers/thunderbolt/usb4.c+28 -490 replies
8/12thunderbolt: Pass TX and RX data directly to usb4_switch_op()drivers/thunderbolt/usb4.c+48 -370 replies
9/12thunderbolt: Add connection manager specific hooks for USB4 router operationsdrivers/thunderbolt/tb.h drivers/thunderbolt/usb4.c+57 -60 replies
10/12thunderbolt: Move constants for USB4 router operations to tb_regs.hdrivers/thunderbolt/tb_regs.h drivers/thunderbolt/usb4.c+13 -120 replies
11/12thunderbolt: Add USB4 router operation proxy for firmware connection managerdrivers/thunderbolt/icm.c drivers/thunderbolt/tb_msgs.h+232 -100 replies
12/12thunderbolt: Add support for Intel Maple Ridgedrivers/thunderbolt/icm.c drivers/thunderbolt/nhi.h+12 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/12] thunderbolt: USB4 NVM upgrade improvements & Maple Ridge support

Hi all,

This series improves the USB4 router NVM upgrade functionality and adds support for USB4 router operations proxy implemented by recent Intel Thunderbolt firmware connection manager. The last patch adds support for Intel Maple Ridge that is the first discrete Thunderbolt/USB4 controller from Intel.

This also includes a couple of minor cleanups and improvements around debug logging.

Mika Westerberg (12):
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

 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 ++++++++++++++++++++--------------
 10 files changed, 473 insertions(+), 122 deletions(-)
Signature · 1 line
2.29.2