linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: linux-usb@vger.kernel.org
Cc: Gil Fine <gil.fine@linux.intel.com>,
	Yehezkel Bernat <YehezkelShB@gmail.com>,
	Michael Jamet <michael.jamet@intel.com>,
	Lukas Wunner <lukas@wunner.de>,
	Andreas Noever <andreas.noever@gmail.com>,
	Mika Westerberg <mika.westerberg@linux.intel.com>
Subject: [PATCH v2 00/20] thunderbolt: Initial USB4 v2 support
Date: Mon, 12 Jun 2023 11:21:25 +0300	[thread overview]
Message-ID: <20230612082145.62218-1-mika.westerberg@linux.intel.com> (raw)

Hi all,

This series adds initial support for the next USB4 version (USB4 v2) and
the Intel Barlow Ridge discrete controller. This includes support for
the 80G symmetric link, the necessary configuration needed to bring up
the router in v2 mode, adaptive TMU, PCIe extended encapsulation, and
CL2 low power link state. We will be sending the rest of the USB4 v2
support, including asymmetric 128/80G link support later on once this
one has settled.

These are based on thunderbolt.git/next.

The previous version of the series can be found:

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

Changes from v1:

  * Make tb_switch_is_usb4() use usb4_switch_version() as well
  * Set TMU mode off by default in tmu_mode_init()
  * Log TMU mode change only if it is actually changed in
    tb_switch_tmu_configure().

Gil Fine (9):
  thunderbolt: Identify USB4 v2 routers
  thunderbolt: Add support for USB4 v2 80 Gb/s link
  thunderbolt: Announce USB4 v2 connection manager support
  thunderbolt: Enable USB4 v2 PCIe TLP/DLLP extended encapsulation
  thunderbolt: Add two additional double words for adapters TMU for USB4 v2 routers
  thunderbolt: Fix DisplayPort IN adapter capability length for USB4 v2 routers
  thunderbolt: Fix PCIe adapter capability length for USB4 v2 routers
  thunderbolt: Move constants related to NVM into nvm.c
  thunderbolt: Increase NVM_MAX_SIZE to support Intel Barlow Ridge controller

Mika Westerberg (11):
  thunderbolt: Ignore data CRC mismatch for USB4 routers
  thunderbolt: Do not touch lane 1 adapter path config space
  thunderbolt: Add the new USB4 v2 notification types
  thunderbolt: Reset USB4 v2 host router
  thunderbolt: Add Intel Barlow Ridge PCI ID
  thunderbolt: Limit Intel Barlow Ridge USB3 bandwidth
  thunderbolt: Add support for enhanced uni-directional TMU mode
  thunderbolt: Enable CL2 low power state
  thunderbolt: Make bandwidth allocation mode function names consistent
  thunderbolt: Add DisplayPort 2.x tunneling support
  thunderbolt: Add test case for 3 DisplayPort tunnels

 drivers/thunderbolt/clx.c      |  31 +-
 drivers/thunderbolt/ctl.c      |  28 ++
 drivers/thunderbolt/debugfs.c  |  29 +-
 drivers/thunderbolt/dma_test.c |  10 +-
 drivers/thunderbolt/eeprom.c   |   3 +-
 drivers/thunderbolt/icm.c      |   6 +-
 drivers/thunderbolt/nhi.c      |  41 ++-
 drivers/thunderbolt/nhi.h      |   4 +
 drivers/thunderbolt/nhi_regs.h |  19 +-
 drivers/thunderbolt/nvm.c      |   4 +
 drivers/thunderbolt/quirks.c   |   8 +
 drivers/thunderbolt/switch.c   | 216 ++++++++----
 drivers/thunderbolt/tb.c       | 132 ++++++--
 drivers/thunderbolt/tb.h       | 144 ++++----
 drivers/thunderbolt/tb_msgs.h  |   7 +
 drivers/thunderbolt/tb_regs.h  |  25 +-
 drivers/thunderbolt/test.c     |  83 +++++
 drivers/thunderbolt/tmu.c      | 595 ++++++++++++++++++++++++++-------
 drivers/thunderbolt/tunnel.c   | 178 +++++++---
 drivers/thunderbolt/usb4.c     | 108 ++++--
 drivers/thunderbolt/xdomain.c  |  82 ++++-
 include/linux/thunderbolt.h    |  18 +-
 22 files changed, 1380 insertions(+), 391 deletions(-)

-- 
2.39.2


             reply	other threads:[~2023-06-12  8:53 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-12  8:21 Mika Westerberg [this message]
2023-06-12  8:21 ` [PATCH v2 01/20] thunderbolt: Ignore data CRC mismatch for USB4 routers Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 02/20] thunderbolt: Do not touch lane 1 adapter path config space Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 03/20] thunderbolt: Identify USB4 v2 routers Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 04/20] thunderbolt: Add support for USB4 v2 80 Gb/s link Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 05/20] thunderbolt: Add the new USB4 v2 notification types Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 06/20] thunderbolt: Reset USB4 v2 host router Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 07/20] thunderbolt: Announce USB4 v2 connection manager support Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 08/20] thunderbolt: Enable USB4 v2 PCIe TLP/DLLP extended encapsulation Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 09/20] thunderbolt: Add two additional double words for adapters TMU for USB4 v2 routers Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 10/20] thunderbolt: Fix DisplayPort IN adapter capability length " Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 11/20] thunderbolt: Fix PCIe " Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 12/20] thunderbolt: Add Intel Barlow Ridge PCI ID Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 13/20] thunderbolt: Limit Intel Barlow Ridge USB3 bandwidth Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 14/20] thunderbolt: Move constants related to NVM into nvm.c Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 15/20] thunderbolt: Increase NVM_MAX_SIZE to support Intel Barlow Ridge controller Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 16/20] thunderbolt: Add support for enhanced uni-directional TMU mode Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 17/20] thunderbolt: Enable CL2 low power state Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 18/20] thunderbolt: Make bandwidth allocation mode function names consistent Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 19/20] thunderbolt: Add DisplayPort 2.x tunneling support Mika Westerberg
2023-06-12  8:21 ` [PATCH v2 20/20] thunderbolt: Add test case for 3 DisplayPort tunnels Mika Westerberg
2023-06-16  6:59 ` [PATCH v2 00/20] thunderbolt: Initial USB4 v2 support 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=20230612082145.62218-1-mika.westerberg@linux.intel.com \
    --to=mika.westerberg@linux.intel.com \
    --cc=YehezkelShB@gmail.com \
    --cc=andreas.noever@gmail.com \
    --cc=gil.fine@linux.intel.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=lukas@wunner.de \
    --cc=michael.jamet@intel.com \
    /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;
as well as URLs for NNTP newsgroup(s).