Here you go:
0x0080 0x003c01c0 0b00000000 00111100 00000001 11000000 .... LANE_ADP_CS_0 [00:07] 0xc0 Next Capability Pointer [08:15] 0x1 Capability ID [16:19] 0xc Supported Link Speeds [20:21] 0x3 Supported Link Widths (SLW) [22:23] 0x0 Gen 4 Asymmetric Support (G4AS) [26:26] 0x0 CL0s Support [27:27] 0x0 CL1 Support [28:28] 0x0 CL2 Support 0x0081 0x0828003c 0b00001000 00101000 00000000 00111100 .... LANE_ADP_CS_1 [00:03] 0xc Target Link Speed → Router shall attempt Gen 3 speed [04:05] 0x3 Target Link Width → Establish a Symmetric Link [06:07] 0x0 Target Asymmetric Link → Establish Symmetric Link [10:10] 0x0 CL0s Enable [11:11] 0x0 CL1 Enable [12:12] 0x0 CL2 Enable [14:14] 0x0 Lane Disable (LD) [15:15] 0x0 Lane Bonding (LB) [16:19] 0x8 Current Link Speed → Gen 2 [20:25] 0x2 Negotiated Link Width → Symmetric Link (x2) [26:29] 0x2 Adapter State → CL0 [30:30] 0x0 PM Secondary (PMS)
On Tue, May 21, 2024 at 7:11 AM Mika Westerberg mika.westerberg@linux.intel.com wrote:
Hi,
On Mon, May 20, 2024 at 07:30:28PM +0200, Gia wrote:
In my case I use the official Thunderbolt cable that came with my CalDigit TS3 Plus and yet the log - attached in a previous email - says current link speed 10.0 Gb/s. I just tried a good quality USB4 cable too and nothing changed.
I will take a look at your logs today but in the meantime can you run following command on the system with the dock connected?
# tbdump -r 0 -a 1 -vv -N 2 LANE_ADP_CS_0
Here tbdump comes from https://github.com/intel/tbtools. It should be pretty straighforward to build but let me know if any issues (unfortunately there is no binary package available at this time).
The '-a 1' should match the adapter the dock is connected. You can get it for instance like this (this is an example from my system):
# tblist Domain 0 Route 0: 8087:7eb2 Intel Gen14 Domain 0 Route 1: 003d:0011 CalDigit, Inc. TS3 Plus Domain 1 Route 0: 8087:7eb2 Intel Gen14
Here the CalDigit has "Route 1" so it means I use "-a 1" above. It could be also "Domain 0 Route 3" in which case replace the "-a 1" with "-a 3".
This command should dump two lane adapter registers LANE_ADP_CS_0/1 that show the link capabilities.