]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thunderbolt: Fix connection issue with Pluggable UD-4VPD dock
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 5 Nov 2024 07:19:02 +0000 (09:19 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 5 Nov 2024 14:29:47 +0000 (16:29 +0200)
commitbd646c768a934d28e574ee940d6759c7954a024d
treeaaaa26ccbc5e325c6bf4a2d055dff3557b35d6b8
parentbf791751162ac875a9439426d13f8d4d18151549
thunderbolt: Fix connection issue with Pluggable UD-4VPD dock

Rick reported that his Pluggable USB4 dock does not work anymore after
upgrading to v6.10 kernel.

It looks like commit c6ca1ac9f472 ("thunderbolt: Increase sideband
access polling delay") makes the device router enumeration happen later
than what might be expected by the dock (although there is no such limit
in the USB4 spec) which probably makes it assume there is something
wrong with the high-speed link and reset it. After the link is reset the
same issue happens again and again.

For this reason lower the sideband access delay from 5ms to 1ms. This
seems to work fine according to Rick's testing.

Reported-by: Rick Lahaye <rick@581238.xyz>
Closes: https://lore.kernel.org/linux-usb/000f01db247b$d10e1520$732a3f60$@581238.xyz/
Tested-by: Rick Lahaye <rick@581238.xyz>
Fixes: c6ca1ac9f472 ("thunderbolt: Increase sideband access polling delay")
Cc: stable@vger.kernel.org
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/usb4.c