Skip to content

thunderbolt: Sideband access and retimer lane margining support

Mika Westerberg linux-usb 2 versions – Applied

Status from this message: Applied to thunderbolt.git/next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 4 repliesApplied
  2. v16 patches 2 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6thunderbolt: Move usb4_port_margining_caps() declaration into correct placedrivers/thunderbolt/tb.h+1 -10 replies
2/6thunderbolt: Make usb4_port_sb_read/write() available outside of usb4.cdrivers/thunderbolt/retimer.c drivers/thunderbolt/tb.h drivers/thunderbolt/usb4.c+66 -750 replies
3/6thunderbolt: Add sideband register access to debugfsdrivers/thunderbolt/debugfs.c drivers/thunderbolt/retimer.c drivers/thunderbolt/sb_regs.h +1 more+307 -00 replies
4/6thunderbolt: Split out margining from USB4 portdrivers/thunderbolt/debugfs.c+112 -1220 replies
5/6thunderbolt: Make margining functions accept target and retimer indexdrivers/thunderbolt/debugfs.c drivers/thunderbolt/tb.h drivers/thunderbolt/usb4.c+50 -320 replies
6/6thunderbolt: Add receiver lane margining support for retimersdrivers/thunderbolt/Kconfig drivers/thunderbolt/debugfs.c drivers/thunderbolt/retimer.c +3 more+128 -480 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] thunderbolt: Sideband access and retimer lane margining support

Hi all,

This series adds USB4 link sideband access through debugfs. This can be used to run port operations etc. from userspace usable for example in manufacturing. The other feature is receiver lane margining support for retimers with similar use case.

Mika Westerberg (6):
thunderbolt: Move usb4_port_margining_caps() declaration into correct place
thunderbolt: Make usb4_port_sb_read/write() available outside of usb4.c
thunderbolt: Add sideband register access to debugfs
thunderbolt: Split out margining from USB4 port
thunderbolt: Make margining functions accept target and retimer index
thunderbolt: Add receiver lane margining support for retimers

 drivers/thunderbolt/Kconfig   |  11 +-
 drivers/thunderbolt/debugfs.c | 623 ++++++++++++++++++++++++++--------
 drivers/thunderbolt/retimer.c |  53 +--
 drivers/thunderbolt/sb_regs.h |   9 +
 drivers/thunderbolt/tb.h      |  45 ++-
 drivers/thunderbolt/usb4.c    | 183 +++++-----
 6 files changed, 655 insertions(+), 269 deletions(-)
Signature · 1 line
2.43.0