|
|
Log in / Subscribe / Register

thunderbolt: Improvements to XDomain handling

From:  Mika Westerberg <mika.westerberg-AT-linux.intel.com>
To:  linux-usb-AT-vger.kernel.org
Subject:  [PATCH 00/12] thunderbolt: Improvements to XDomain handling
Date:  Mon, 27 Apr 2026 10:10:57 +0200
Message-ID:  <20260427081109.2337731-1-mika.westerberg@linux.intel.com>
Cc:  Yehezkel Bernat <YehezkelShB-AT-gmail.com>, Lukas Wunner <lukas-AT-wunner.de>, Andreas Noever <andreas.noever-AT-gmail.com>, Alan Borzeszkowski <alan.borzeszkowski-AT-linux.intel.com>, Gil Fine <gil.fine-AT-linux.intel.com>, Mika Westerberg <mika.westerberg-AT-linux.intel.com>
Archive-link:  Article

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




Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds