linux-stable/drivers/thunderbolt
Mika Westerberg d727b97f8f thunderbolt: Check that lane 1 is in CL0 before enabling lane bonding
commit a9fdf5f933 upstream.

Marek reported that when BlackMagic UltraStudio device is connected the
kernel repeatedly tries to enable lane bonding without success making
the device non-functional. It looks like the device does not have lane 1
connected at all so even though it is enabled we should not try to bond
the lanes. For this reason check that lane 1 is in fact CL0 (connected,
active) before attempting to bond the lanes.

Reported-by: Marek Šanta <teslan223@gmail.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217737
Cc: stable@vger.kernel.org
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-19 23:05:36 +02:00
..
Kconfig
Makefile
acpi.c
cap.c
ctl.c
ctl.h
debugfs.c
dma_port.c
dma_port.h
dma_test.c thunderbolt: dma_test: Use correct value for absent rings when creating paths 2023-06-21 15:59:15 +02:00
domain.c
eeprom.c
icm.c thunderbolt: Workaround an IOMMU fault on certain systems with Intel Maple Ridge 2023-10-19 23:05:36 +02:00
lc.c
nhi.c thunderbolt: Mask ring interrupt on Intel hardware as well 2023-06-21 15:59:15 +02:00
nhi.h
nhi_ops.c
nhi_regs.h thunderbolt: Clear registers properly when auto clear isn't in use 2023-05-24 17:36:54 +01:00
nvm.c
path.c
property.c
quirks.c
retimer.c thunderbolt: Read retimer NVM authentication status prior tb_retimer_set_inbound_sbtx() 2023-08-26 14:23:24 +02:00
sb_regs.h thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-30 12:47:52 +02:00
switch.c thunderbolt: Check that lane 1 is in CL0 before enabling lane bonding 2023-10-19 23:05:36 +02:00
tb.c
tb.h thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-30 12:47:52 +02:00
tb_msgs.h
tb_regs.h
test.c
tmu.c
tunnel.c
tunnel.h
usb4.c thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-30 12:47:52 +02:00
usb4_port.c
xdomain.c