tmp_suning_uos_patched/drivers/thunderbolt
Sanjay R Mehta 491c8be219 thunderbolt: Fix port linking by checking all adapters
[ Upstream commit 42716425ad7e1b6529ec61c260c11176841f4b5f ]

In tb_switch_default_link_ports(), while linking of ports,
only odd-numbered ports (1,3,5..) are considered and even-numbered
ports are not considered.

AMD host router has lane adapters at 2 and 3 and link ports at adapter 2
is not considered due to which lane bonding gets disabled.

Hence added a fix such that all ports are considered during
linking of ports.

Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-18 13:40:27 +02:00
..
acpi.c
cap.c
ctl.c
ctl.h
debugfs.c
dma_port.c thunderbolt: dma_port: Fix NVM read buffer bounds and offset issue 2021-06-03 09:00:32 +02:00
dma_port.h
domain.c
eeprom.c
icm.c
Kconfig
lc.c
Makefile
nhi_ops.c
nhi_regs.h
nhi.c
nhi.h
nvm.c
path.c
property.c
quirks.c
retimer.c thunderbolt: Fix off by one in tb_port_find_retimer() 2021-04-14 08:42:03 +02:00
sb_regs.h
switch.c thunderbolt: Fix port linking by checking all adapters 2021-09-18 13:40:27 +02:00
tb_msgs.h
tb_regs.h
tb.c
tb.h
test.c thunderbolt: Bond lanes only when dual_link_port != NULL in alloc_dev_default() 2021-07-14 16:56:44 +02:00
tmu.c
tunnel.c
tunnel.h
usb4.c thunderbolt: usb4: Fix NVM read buffer bounds and offset issue 2021-06-03 09:00:32 +02:00
xdomain.c