thunderbolt: Add support for PCIe tunneling disabled (SL5)
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 3 Sep 2020 10:13:21 +0000 (13:13 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 4 Feb 2021 07:45:24 +0000 (10:45 +0300)
commit3cd542e6e6afb6fa6c34d4094d498f42e22110f5
tree8da9bf70185b452e1008254a08367c12ce765397
parent8b0ab503c07ecd0f9754796bf0ae5c3c1a2a6388
thunderbolt: Add support for PCIe tunneling disabled (SL5)

Recent Intel Thunderbolt firmware connection manager has support for
another security level, SL5, that disables PCIe tunneling. This option
can be turned on from the BIOS.

When this is set the driver exposes a new security level "nopcie" to the
userspace and hides the authorized attribute under connected devices.

While there we also hide it when "dponly" security level is enabled
since it is not really usable in that case anyway.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Yehezkel Bernat <YehezkelShB@gmail.com>
Documentation/ABI/testing/sysfs-bus-thunderbolt
Documentation/admin-guide/thunderbolt.rst
drivers/thunderbolt/domain.c
drivers/thunderbolt/switch.c
include/linux/thunderbolt.h