mbox series

[GIT,PULL] Thunderbolt/USB4 changes for v6.5 merge window

Message ID 20230621071843.GK45886@black.fi.intel.com
State New
Headers show
Series [GIT,PULL] Thunderbolt/USB4 changes for v6.5 merge window | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git tags/thunderbolt-for-v6.5-rc1

Message

Mika Westerberg June 21, 2023, 7:18 a.m. UTC
Hi Greg,

The following changes since commit 44c026a73be8038f03dbdeef028b642880cf1511:

  Linux 6.4-rc3 (2023-05-21 14:05:48 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git tags/thunderbolt-for-v6.5-rc1

for you to fetch changes up to 481012b479fe6d8dd4e01d739c359a8d99d074a9:

  thunderbolt: Add test case for 3 DisplayPort tunnels (2023-06-16 09:53:29 +0300)

----------------------------------------------------------------
thunderbolt: Changes for v6.5 merge window

This includes following Thunderbolt/USB4 changes for the v6.5 merge
window:

  - Improve debug logging
  - Rework for TMU and CL states handling
  - Retimer access improvements
  - Initial support for USB4 v2 features:

    * 80G symmetric link support
    * New notifications
    * PCIe extended encapsulation
    * enhanced uni-directional TMU mode
    * CL2 link low power state
    * DisplayPort 2.x tunneling

  - Support for Intel Barlow Ridge Thunderbolt/USB4 controller
  - Minor fixes and improvements.

All these have been in linux-next with no reported issues.

----------------------------------------------------------------
Gil Fine (10):
      thunderbolt: Introduce tb_switch_downstream_port()
      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 (46):
      thunderbolt: dma_test: Use correct value for absent rings when creating paths
      thunderbolt: Check for ring 0 in tb_tunnel_alloc_dma()
      thunderbolt: Log function name of the called quirk
      thunderbolt: Add debug log for link controller power quirk
      thunderbolt: Allow specifying custom credits for DMA tunnels
      thunderbolt: Add MODULE_DESCRIPTION
      thunderbolt: dma_test: Update MODULE_DESCRIPTION
      thunderbolt: Drop retimer vendor check
      thunderbolt: Increase DisplayPort Connection Manager handshake timeout
      thunderbolt: Do not touch CL state configuration during discovery
      thunderbolt: Log DisplayPort adapter rate and lanes on discovery
      thunderbolt: Mask ring interrupt on Intel hardware as well
      Merge branch 'thunderbolt/fixes' into thunderbolt/next
      thunderbolt: Introduce tb_xdomain_downstream_port()
      thunderbolt: Fix a couple of style issues in TMU code
      thunderbolt: Drop useless 'unidirectional' parameter from tb_switch_tmu_is_enabled()
      thunderbolt: Rework Titan Ridge TMU objection disable function
      thunderbolt: Get rid of tb_switch_enable_tmu_1st_child()
      thunderbolt: Move TMU configuration to tb_enable_tmu()
      thunderbolt: Move tb_enable_tmu() close to other TMU functions
      thunderbolt: Check valid TMU configuration in tb_switch_tmu_configure()
      thunderbolt: Move CLx support functions into clx.c
      thunderbolt: Get rid of __tb_switch_[en|dis]able_clx()
      thunderbolt: Move CLx enabling into tb_enable_clx()
      thunderbolt: Switch CL states from enum to a bitmask
      thunderbolt: Check for first depth router in tb.c
      thunderbolt: Do not call CLx functions from TMU code
      thunderbolt: Prefix TMU post time log message with "TMU: "
      thunderbolt: Prefix CL state related log messages with "CLx: "
      thunderbolt: Initialize CL states from the hardware
      thunderbolt: Make tb_switch_clx_disable() return CL states that were enabled
      thunderbolt: Disable CL states when a DMA tunnel is established
      thunderbolt: Read retimer NVM authentication status prior tb_retimer_set_inbound_sbtx()
      thunderbolt: Do not send UNSET_INBOUND_SBTX when retimer NVM authentication started
      thunderbolt: Enable/disable sideband depending on USB4 port offline mode
      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/Makefile   |   2 +-
 drivers/thunderbolt/acpi.c     |   5 +-
 drivers/thunderbolt/clx.c      | 423 ++++++++++++++++++++++++
 drivers/thunderbolt/ctl.c      |  28 ++
 drivers/thunderbolt/debugfs.c  |  64 ++--
 drivers/thunderbolt/dma_test.c |  20 +-
 drivers/thunderbolt/eeprom.c   |   3 +-
 drivers/thunderbolt/icm.c      |  30 +-
 drivers/thunderbolt/nhi.c      |  53 ++-
 drivers/thunderbolt/nhi.h      |   4 +
 drivers/thunderbolt/nhi_regs.h |  19 +-
 drivers/thunderbolt/nvm.c      |   4 +
 drivers/thunderbolt/quirks.c   |  10 +
 drivers/thunderbolt/retimer.c  |  64 +++-
 drivers/thunderbolt/switch.c   | 594 ++++++++++------------------------
 drivers/thunderbolt/tb.c       | 332 ++++++++++++++-----
 drivers/thunderbolt/tb.h       | 243 +++++++-------
 drivers/thunderbolt/tb_msgs.h  |   7 +
 drivers/thunderbolt/tb_regs.h  |  25 +-
 drivers/thunderbolt/test.c     |  83 +++++
 drivers/thunderbolt/tmu.c      | 713 +++++++++++++++++++++++++++++------------
 drivers/thunderbolt/tunnel.c   | 241 +++++++++++---
 drivers/thunderbolt/usb4.c     | 114 +++++--
 drivers/thunderbolt/xdomain.c  |  98 ++++--
 include/linux/thunderbolt.h    |  18 +-
 25 files changed, 2181 insertions(+), 1016 deletions(-)
 create mode 100644 drivers/thunderbolt/clx.c