Skip to content

thunderbolt: Align with USB4 inter-domain and DROM specs

Mika Westerberg linux-usb netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18thunderbolt: Disable retry logic for intra-domain control packetsdrivers/thunderbolt/ctl.c+1 -10 replies
2/18thunderbolt: Do not pass timeout for tb_cfg_reset()drivers/thunderbolt/ctl.c drivers/thunderbolt/ctl.h drivers/thunderbolt/switch.c+4 -70 replies
3/18thunderbolt: Decrease control channel timeout for software connection managerdrivers/thunderbolt/ctl.c drivers/thunderbolt/ctl.h drivers/thunderbolt/domain.c +3 more+49 -450 replies
4/18Documentation / thunderbolt: Drop speed/lanes entries for XDomainDocumentation/ABI/testing/sysfs-bus-thunderbolt+0 -280 replies
5/18thunderbolt: Add more logging to XDomain connectionsdrivers/thunderbolt/xdomain.c+31 -30 replies
6/18thunderbolt: Do not re-establish XDomain DMA paths automaticallydrivers/thunderbolt/xdomain.c include/linux/thunderbolt.h+2 -350 replies
7/18thunderbolt: Use pseudo-random number as initial property block generationdrivers/thunderbolt/xdomain.c+2 -00 replies
8/18thunderbolt: Align XDomain protocol timeouts with the specdrivers/thunderbolt/xdomain.c+2 -20 replies
9/18thunderbolt: Add tb_property_copy_dir()drivers/thunderbolt/property.c include/linux/thunderbolt.h+72 -00 replies
10/18thunderbolt: Add support for maxhopid XDomain propertyDocumentation/ABI/testing/sysfs-bus-thunderbolt drivers/thunderbolt/xdomain.c include/linux/thunderbolt.h+138 -940 replies
11/18thunderbolt: Use dedicated flow control for DMA tunnelsdrivers/thunderbolt/tunnel.c+4 -160 replies
12/18thunderbolt: Drop unused tb_port_set_initial_credits()drivers/thunderbolt/switch.c drivers/thunderbolt/tb.h+0 -230 replies
13/18thunderbolt: Allow multiple DMA tunnels over a single XDomain connectiondrivers/net/thunderbolt.c drivers/thunderbolt/dma_test.c drivers/thunderbolt/domain.c +7 more+340 -1250 replies
14/18net: thunderbolt: Align the driver to the USB4 networking specdrivers/net/thunderbolt.c+4 -30 replies
15/18thunderbolt: Add KUnit tests for XDomain propertiesdrivers/thunderbolt/test.c+252 -00 replies
16/18thunderbolt: Add KUnit tests for DMA tunnelsdrivers/thunderbolt/test.c+240 -00 replies
17/18thunderbolt: Check quirks in tb_switch_add()drivers/thunderbolt/eeprom.c drivers/thunderbolt/switch.c+2 -10 replies
18/18thunderbolt: Add support for USB4 DROMdrivers/thunderbolt/eeprom.c+80 -240 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/18] thunderbolt: Align with USB4 inter-domain and DROM specs

Hi all,

The latest USB4 spec [1] also includes inter-domain (peer-to-peer, XDomain) and DROM (per-device ROM) specs. There are sligth differences between what the driver is doing now and what the spec say so this series tries to align the driver(s) with that. We also improve the "service" stack so that it is possible to run multiple DMA tunnels over a single XDomain connection, and update the two existing service drivers accordingly.

We also decrease the control channel timeout when software based connection manager is used.

The USB4 DROM spec adds a new product descriptor that includes the device and IDs instead of the generic entries in the Thunderbotl 1-3 DROMs. This series updates the driver to parse this descriptor too.

[1] https://www.usb.org/document-library/usb4tm-specification

Mika Westerberg (18):
thunderbolt: Disable retry logic for intra-domain control packets
thunderbolt: Do not pass timeout for tb_cfg_reset()
thunderbolt: Decrease control channel timeout for software connection manager Documentation / thunderbolt: Drop speed/lanes entries for XDomain
thunderbolt: Add more logging to XDomain connections
thunderbolt: Do not re-establish XDomain DMA paths automatically
thunderbolt: Use pseudo-random number as initial property block generation
thunderbolt: Align XDomain protocol timeouts with the spec
thunderbolt: Add tb_property_copy_dir()
thunderbolt: Add support for maxhopid XDomain property
thunderbolt: Use dedicated flow control for DMA tunnels
thunderbolt: Drop unused tb_port_set_initial_credits()
thunderbolt: Allow multiple DMA tunnels over a single XDomain connection
net: thunderbolt: Align the driver to the USB4 networking spec
thunderbolt: Add KUnit tests for XDomain properties
thunderbolt: Add KUnit tests for DMA tunnels
thunderbolt: Check quirks in tb_switch_add()
thunderbolt: Add support for USB4 DROM

 .../ABI/testing/sysfs-bus-thunderbolt         |  35 +-
 drivers/net/thunderbolt.c                     |  56 +-
 drivers/thunderbolt/ctl.c                     |  21 +-
 drivers/thunderbolt/ctl.h                     |   8 +-
 drivers/thunderbolt/dma_test.c                |  35 +-
 drivers/thunderbolt/domain.c                  |  90 ++--
 drivers/thunderbolt/eeprom.c                  | 105 +++-
 drivers/thunderbolt/icm.c                     |  34 +-
 drivers/thunderbolt/property.c                |  71 +++
 drivers/thunderbolt/switch.c                  |  26 +-
 drivers/thunderbolt/tb.c                      |  52 +-
 drivers/thunderbolt/tb.h                      |  19 +-
 drivers/thunderbolt/test.c                    | 492 ++++++++++++++++++
 drivers/thunderbolt/tunnel.c                  | 102 +++-
 drivers/thunderbolt/tunnel.h                  |   8 +-
 drivers/thunderbolt/xdomain.c                 | 416 +++++++++------
 include/linux/thunderbolt.h                   |  54 +-
 17 files changed, 1220 insertions(+), 404 deletions(-)
Signature · 1 line
2.30.1