Skip to content

thunderbolt: Improvements to XDomain handling

Mika Westerberg linux-usb 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: Avoid reserved fields in path config space for USB4 routersdrivers/thunderbolt/path.c+22 -90 replies
2/12thunderbolt: Don't disable lane adapter if XDomain lane bonding isn't possibledrivers/thunderbolt/xdomain.c+7 -10 replies
3/12thunderbolt: Make XDomain lane bonding comply with the USB4 v2 specdrivers/thunderbolt/xdomain.c+47 -180 replies
4/12thunderbolt: Keep the domain reference while processing hotplugdrivers/thunderbolt/tb.c+4 -10 replies
5/12thunderbolt: Release request if tb_cfg_request() fails in __tb_xdomain_response()drivers/thunderbolt/xdomain.c+6 -10 replies
6/12thunderbolt: Set tb->root_switch to NULL when domain is stoppeddrivers/thunderbolt/tb.c drivers/thunderbolt/xdomain.c+6 -10 replies
7/12thunderbolt: Wait for tb_domain_release() to complete when driver is removeddrivers/thunderbolt/domain.c drivers/thunderbolt/nhi.c include/linux/thunderbolt.h+9 -00 replies
8/12thunderbolt: Keep XDomain reference during the lifetime of a servicedrivers/thunderbolt/xdomain.c+2 -10 replies
9/12thunderbolt: dma_test: No need to store debugfs directory pointerdrivers/thunderbolt/dma_test.c+9 -110 replies
10/12thunderbolt: Remove service debugfs entries during unregisterdrivers/thunderbolt/xdomain.c+11 -30 replies
11/12thunderbolt: Remove XDomain from the bus without holding tb->lockdrivers/thunderbolt/debugfs.c drivers/thunderbolt/domain.c drivers/thunderbolt/icm.c +4 more+115 -500 replies
12/12thunderbolt: Don't create multiple DMA tunnels on firmware connection managerdrivers/thunderbolt/icm.c drivers/thunderbolt/xdomain.c include/linux/thunderbolt.h+31 -60 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: Improvements to XDomain handling

Hi all,

This series improves the Thunderbolt peer-to-peer (aka XDomain) handling in various places in the driver and tries to make it follow the USB4 spec more closely.

Alan Borzeszkowski (1):
thunderbolt: Don't create multiple DMA tunnels on firmware connection manager

Gil Fine (1):
thunderbolt: Avoid reserved fields in path config space for USB4 routers

Mika Westerberg (10):
thunderbolt: Don't disable lane adapter if XDomain lane bonding isn't possible
thunderbolt: Make XDomain lane bonding comply with the USB4 v2 spec
thunderbolt: Keep the domain reference while processing hotplug
thunderbolt: Release request if tb_cfg_request() fails in __tb_xdomain_response()
thunderbolt: Set tb->root_switch to NULL when domain is stopped
thunderbolt: Wait for tb_domain_release() to complete when driver is removed
thunderbolt: Keep XDomain reference during the lifetime of a service
thunderbolt: dma_test: No need to store debugfs directory pointer
thunderbolt: Remove service debugfs entries during unregister
thunderbolt: Remove XDomain from the bus without holding tb->lock

 drivers/thunderbolt/debugfs.c  |   2 +
 drivers/thunderbolt/dma_test.c |  20 ++--
 drivers/thunderbolt/domain.c   |  33 ++++++
 drivers/thunderbolt/icm.c      |  15 +++
 drivers/thunderbolt/nhi.c      |   4 +
 drivers/thunderbolt/path.c     |  31 ++++--
 drivers/thunderbolt/switch.c   |  14 +++
 drivers/thunderbolt/tb.c       |  65 ++++++------
 drivers/thunderbolt/tb.h       |   2 +
 drivers/thunderbolt/xdomain.c  | 181 +++++++++++++++++++++++----------
 include/linux/thunderbolt.h    |   4 +
 11 files changed, 269 insertions(+), 102 deletions(-)
Signature · 1 line
2.50.1