Linux USB
 help / color / mirror / Atom feed
From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: linux-usb@vger.kernel.org
Cc: Yehezkel Bernat <YehezkelShB@gmail.com>,
	Lukas Wunner <lukas@wunner.de>,
	Andreas Noever <andreas.noever@gmail.com>,
	Mika Westerberg <mika.westerberg@linux.intel.com>,
	Mika Westerberg <westeri@kernel.org>
Subject: [PATCH 0/9] thunderbolt: Introduce USB4STREAM coupling
Date: Wed, 25 Nov 2026 16:26:13 +0100	[thread overview]
Message-ID: <20261125152623.456054-1-mika.westerberg@linux.intel.com> (raw)

Hi all,

This series makes it possible to "couple" streams through host or device
router lane adapters. For example we can have topology like this:

  host1 <-USB4/TB cable-> host2 <-USB4/TB cable-> host3

You can already forward stream from host1 to host3 through host2 using dd
or similar but we can also make direct tunnel through the host2 host
router. This does not consume CPU cycles of the host2. Same can be done if
there is a device router where the hosts are connected. It will take the
shortest path.

The first patches are fixes that the rest of the series needs. The usage
steps are in the last patch.

This applies on top of my "shared buffer" series here:

  https://lore.kernel.org/linux-usb/20261119171232.1616316-1-mika.westerberg@linux.intel.com/

Mika Westerberg (Intel) (9):
  thunderbolt: Add and remove XDomain services outside of the state work
  thunderbolt: Unregister XDomains when the domain is removed
  thunderbolt: stream: Keep better track of the HopIDs
  thunderbolt: stream: Validate the ConfigFS group name more strictly
  thunderbolt: Allow DMA tunnel also between two lane adapters
  thunderbolt: Add KUnit tests for lane to lane DMA tunnels
  thunderbolt: Add tb_xdomains_enable_paths() and tb_xdomains_disable_paths()
  thunderbolt: stream: Introduce USB4STREAM coupling
  Documentation: thunderbolt: Document USB4STREAM coupling

 .../ABI/testing/configfs-thunderbolt_stream   |  82 ++
 Documentation/admin-guide/thunderbolt.rst     | 119 +++
 drivers/thunderbolt/domain.c                  | 104 +-
 drivers/thunderbolt/icm.c                     |  49 +-
 drivers/thunderbolt/stream.c                  | 971 +++++++++++++++++-
 drivers/thunderbolt/tb.c                      | 150 +--
 drivers/thunderbolt/tb.h                      |  28 +-
 drivers/thunderbolt/test.c                    | 558 ++++++++--
 drivers/thunderbolt/tunnel.c                  | 171 +--
 drivers/thunderbolt/tunnel.h                  |  14 +-
 drivers/thunderbolt/xdomain.c                 | 163 ++-
 include/linux/thunderbolt.h                   |  14 +
 12 files changed, 2108 insertions(+), 315 deletions(-)

-- 
2.50.1


             reply	other threads:[~2026-11-25 15:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 15:26 Mika Westerberg [this message]
2026-11-25 15:26 ` [PATCH 1/9] thunderbolt: Add and remove XDomain services outside of the state work Mika Westerberg
2026-11-25 15:26 ` [PATCH 2/9] thunderbolt: Unregister XDomains when the domain is removed Mika Westerberg
2026-11-25 15:26 ` [PATCH 3/9] thunderbolt: stream: Keep better track of the HopIDs Mika Westerberg
2026-11-25 15:26 ` [PATCH 4/9] thunderbolt: stream: Validate the ConfigFS group name more strictly Mika Westerberg
2026-11-25 15:26 ` [PATCH 5/9] thunderbolt: Allow DMA tunnel also between two lane adapters Mika Westerberg
2026-11-25 15:26 ` [PATCH 6/9] thunderbolt: Add KUnit tests for lane to lane DMA tunnels Mika Westerberg
2026-11-25 15:26 ` [PATCH 7/9] thunderbolt: Add tb_xdomains_enable_paths() and tb_xdomains_disable_paths() Mika Westerberg
2026-11-25 15:26 ` [PATCH 8/9] thunderbolt: stream: Introduce USB4STREAM coupling Mika Westerberg
2026-11-25 15:26 ` [PATCH 9/9] Documentation: thunderbolt: Document " Mika Westerberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261125152623.456054-1-mika.westerberg@linux.intel.com \
    --to=mika.westerberg@linux.intel.com \
    --cc=YehezkelShB@gmail.com \
    --cc=andreas.noever@gmail.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=lukas@wunner.de \
    --cc=westeri@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox