[PATCH 00/12] thunderbolt: Improvements to XDomain handling

Mika Westerberg
2026-04-27T08:11:12Z

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(-)

--
2.50.1