]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thunderbolt: Scan retimers after device router has been enumerated
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 4 Mar 2025 08:53:21 +0000 (10:53 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 17 Mar 2025 10:24:49 +0000 (12:24 +0200)
commit75749d2c1d8cef439f8b69fa1f4f36d0fc3193e6
tree43e90799cf06a1dbaf072b1e06d1175b5fc60f6e
parent72cef52b353cc693d71ad37d80237d975f9951d9
thunderbolt: Scan retimers after device router has been enumerated

Thomas reported connection issues on AMD system with Pluggable UD-4VPD
dock. After some experiments it looks like the device has some sort of
internal timeout that triggers reconnect. This is completely against the
USB4 spec, as there is no requirement for the host to enumerate the
device right away or even at all.

In Linux case the delay is caused by scanning of retimers on the link so
we can work this around by doing the scanning after the device router
has been enumerated.

Reported-by: Thomas Lynema <lyz27@yahoo.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219748
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/tb.c