Skip to content

thunderbolt: Add support for USB4 v2 Gen 4 lane margining

Mika Westerberg linux-usb 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8thunderbolt: Don't hardcode margining capabilities sizedrivers/thunderbolt/debugfs.c drivers/thunderbolt/tb.h drivers/thunderbolt/usb4.c+10 -100 replies
2/8thunderbolt: debugfs: Add USB4 Gen 4 margining capabilitiesdrivers/thunderbolt/debugfs.c drivers/thunderbolt/sb_regs.h+131 -230 replies
3/8thunderbolt: debugfs: Implement Gen 4 margining eye selectiondrivers/thunderbolt/debugfs.c drivers/thunderbolt/sb_regs.h drivers/thunderbolt/tb.h +1 more+65 -30 replies
4/8thunderbolt: debugfs: Replace "both lanes" with "all lanes"drivers/thunderbolt/debugfs.c drivers/thunderbolt/sb_regs.h+7 -70 replies
5/8thunderbolt: debugfs: Replace margining lane numbers with an enumdrivers/thunderbolt/debugfs.c drivers/thunderbolt/sb_regs.h drivers/thunderbolt/tb.h+33 -260 replies
6/8thunderbolt: debugfs: Refactor hardware margining result parsingdrivers/thunderbolt/debugfs.c drivers/thunderbolt/sb_regs.h+56 -550 replies
7/8thunderbolt: debugfs: Don't hardcode margining results sizedrivers/thunderbolt/debugfs.c drivers/thunderbolt/tb.h drivers/thunderbolt/usb4.c+9 -80 replies
8/8thunderbolt: debugfs: Implement asymmetric lane marginingdrivers/thunderbolt/debugfs.c drivers/thunderbolt/sb_regs.h drivers/thunderbolt/tb.h+117 -420 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/8] thunderbolt: Add support for USB4 v2 Gen 4 lane margining

Hi all,

This series from Aapo adds support for USB4 v2 Gen 4 link symmetric and asymmetric receiver lane margining. Useful for instance on manufacturing floor to check stability of the electrical signaling.

Aapo Vienamo (8):
thunderbolt: Don't hardcode margining capabilities size
thunderbolt: debugfs: Add USB4 Gen 4 margining capabilities
thunderbolt: debugfs: Implement Gen 4 margining eye selection
thunderbolt: debugfs: Replace "both lanes" with "all lanes"
thunderbolt: debugfs: Replace margining lane numbers with an enum
thunderbolt: debugfs: Refactor hardware margining result parsing
thunderbolt: debugfs: Don't hardcode margining results size
thunderbolt: debugfs: Implement asymmetric lane margining

 drivers/thunderbolt/debugfs.c | 504 +++++++++++++++++++++++++---------
 drivers/thunderbolt/sb_regs.h |  32 ++-
 drivers/thunderbolt/tb.h      |  16 +-
 drivers/thunderbolt/usb4.c    |  18 +-
 4 files changed, 412 insertions(+), 158 deletions(-)
Signature · 1 line
2.45.2