thunderbolt: Introduce USB only (SL4) security level
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 8 Dec 2017 11:11:39 +0000 (14:11 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 9 Mar 2018 09:54:11 +0000 (12:54 +0300)
commit6fc14e1a44e53c472865252b47398346a27d600e
tree2ddc11cdf4f12749618fc06dc4969a5157fac6eb
parent9aaa3b8b4c56d24210acef37b7c800ca218c3d40
thunderbolt: Introduce USB only (SL4) security level

This new security level works so that it creates one PCIe tunnel to the
connected Thunderbolt dock, removing PCIe links downstream of the dock.
This leaves only the internal USB controller visible.

Display Port tunnels are created normally.

While there make sure security sysfs attribute returns "unknown" for any
future security level.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Documentation/ABI/testing/sysfs-bus-thunderbolt
Documentation/admin-guide/thunderbolt.rst
drivers/thunderbolt/domain.c
include/linux/thunderbolt.h