Revert "thunderbolt: Hide authorized attribute if router does not support PCIe tunnels"
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 27 Jul 2021 14:25:01 +0000 (17:25 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Aug 2021 11:32:20 +0000 (13:32 +0200)
commitddbd617df071f65a09b78360b4787b51240c361f
tree338f7d6b220c87cb2561e48de5fcc9cc82398356
parentbc3c6b55a4ea42b3e9d6b7221415efed58a53877
Revert "thunderbolt: Hide authorized attribute if router does not support PCIe tunnels"

commit 8e3341257e3b5774ec8cd3ef1ba0c0d3fada322b upstream.

This reverts commit 6f3badead6a078cf3c71f381f9d84ac922984a00.

It turns out bolt depends on having authorized attribute visible under
each device. Hiding it makes bolt crash as several people have reported
on various bug trackers. For this reason revert the commit.

Link: https://gitlab.freedesktop.org/bolt/bolt/-/issues/174
Link: https://bugzilla.redhat.com/show_bug.cgi?id=1979765
Link: https://bugs.archlinux.org/task/71569
Cc: stable@vger.kernel.org
Cc: Christian Kellner <ckellner@redhat.com>
Fixes: 6f3badead6a0 ("thunderbolt: Hide authorized attribute if router does not support PCIe tunnels")
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Link: https://lore.kernel.org/r/20210727142501.27476-1-mika.westerberg@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/switch.c