thunderbolt: Keep link as asymmetric if preferred by hardware
authorGil Fine <gil.fine@linux.intel.com>
Mon, 4 Dec 2023 13:14:58 +0000 (15:14 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 22 Dec 2023 10:58:39 +0000 (12:58 +0200)
commitba2a2a86de04e67bb1d7f8251894eb11eed062e9
tree3f46dee63826431f3cb3e2bb1a1243b1f20ea7bd
parent2cd3da4e37453019e21a486d9de3144f46b4fdf7
thunderbolt: Keep link as asymmetric if preferred by hardware

In case of the link is brought up as asymmetric (due to hardware preference), we
honor that and don't transition it to symmetric, unless a router with symmetric
link got plugged below, in the topology (and a bandwidth allows transition to
symmetric).

Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.c
drivers/thunderbolt/tb.h