]> asedeno.scripts.mit.edu Git - linux.git/commit
thunderbolt: Add support for preboot ACL
authorMika Westerberg <mika.westerberg@linux.intel.com>
Sun, 21 Jan 2018 10:08:04 +0000 (12:08 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 9 Mar 2018 09:54:11 +0000 (12:54 +0300)
commit9aaa3b8b4c56d24210acef37b7c800ca218c3d40
treed974db9578dc47b0157aa65c30aa3ddfbbb9d9e5
parent14862ee308bbcaae0ac9927b6cbccccb51386b6c
thunderbolt: Add support for preboot ACL

Preboot ACL is a mechanism that allows connecting Thunderbolt devices
boot time in more secure way than the legacy Thunderbolt boot support.
As with the legacy boot option, this also needs to be enabled from the
BIOS before booting is allowed. Difference to the legacy mode is that
the userspace software explicitly adds device UUIDs by sending a special
message to the ICM firmware. Only the devices listed in the boot ACL are
connected automatically during the boot. This works in both "user" and
"secure" security levels.

We implement this in Linux by exposing a new sysfs attribute (boot_acl)
below each Thunderbolt domain. The userspace software can then update
the full list as needed.

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