mbox series

[GIT,PULL] Thunderbolt/USB4 fixes for v6.3-rc4

Message ID 20230322104626.GD62143@black.fi.intel.com
State New
Headers show
Series [GIT,PULL] Thunderbolt/USB4 fixes for v6.3-rc4 | expand


git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git tags/thunderbolt-for-v6.3-rc4


Mika Westerberg March 22, 2023, 10:46 a.m. UTC
Hi Greg,

The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6:

  Linux 6.3-rc1 (2023-03-05 14:52:03 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git tags/thunderbolt-for-v6.3-rc4

for you to fetch changes up to 58cdfe6f58b35f17f56386f5fcf937168a423ad1:

  thunderbolt: Rename shadowed variables bit to interrupt_bit and auto_clear_bit (2023-03-20 19:00:58 +0200)

thunderbolt: Fixes for v6.3-rc4

This includes following fixes and quirks for v6.3-rc:

  - Quirk to disable CL-states on AMD USB4 host routers
  - Fix memory leak in lane margining
  - Correct the retimer access flows
  - Quirk to limit USB3 bandwidth on certain Intel USB4 host routers
  - Fix usage of scale field when allocting USB3 bandwidth
  - Fix interrupt "auto clear" on non-Intel USB4 host routers.

There are also two commits that are not fixes themselves but are needed
for the USB3 bandwidth quirk and for the interrupt auto clear fix to

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

Gil Fine (2):
      thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access
      thunderbolt: Limit USB3 bandwidth of certain Intel USB4 host routers

Mario Limonciello (2):
      thunderbolt: Use const qualifier for `ring_interrupt_index`
      thunderbolt: Disable interrupt auto clear for rings

Mika Westerberg (3):
      thunderbolt: Fix memory leak in margining
      thunderbolt: Call tb_check_quirks() after initializing adapters
      thunderbolt: Use scale field when allocating USB3 bandwidth

Sanjay R Mehta (1):
      thunderbolt: Add quirk to disable CLx

Tom Rix (1):
      thunderbolt: Rename shadowed variables bit to interrupt_bit and auto_clear_bit

 drivers/thunderbolt/debugfs.c  | 12 +++++-----
 drivers/thunderbolt/nhi.c      | 49 +++++++++++++++++++++++---------------
 drivers/thunderbolt/nhi_regs.h |  6 +++--
 drivers/thunderbolt/quirks.c   | 44 +++++++++++++++++++++++++++++++++++
 drivers/thunderbolt/retimer.c  | 23 ++++++++++++++++--
 drivers/thunderbolt/sb_regs.h  |  1 +
 drivers/thunderbolt/switch.c   |  4 ++--
 drivers/thunderbolt/tb.h       | 15 +++++++++---
 drivers/thunderbolt/usb4.c     | 53 ++++++++++++++++++++++++++++++++++++------
 9 files changed, 166 insertions(+), 41 deletions(-)