]> git.baikalelectronics.ru Git - kernel.git/commit
thunderbolt: Add 'boot' attribute for devices
authorYehezkel Bernat <yehezkel.bernat@intel.com>
Mon, 22 Jan 2018 10:50:09 +0000 (12:50 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 9 Mar 2018 09:54:11 +0000 (12:54 +0300)
commitd964f1f0b6a23e12bce21ff88bd682c8763b16ca
tree5052d4e77b83a46557e61c5e2e6c7af66e72e804
parent887b143f5e6b1ad982a8c59c1f3248a0ec617e79
thunderbolt: Add 'boot' attribute for devices

In various cases, Thunderbolt device can be connected by ICM on boot
without waiting for approval from user. Most cases are related to
OEM-specific BIOS configurations. This information is interesting for
user-space as if the device isn't in SW ACL, it may create a friction in
the user experience where the device is automatically authorized if it's
connected on boot but requires an explicit user action if connected
after OS is up. User-space can use this information to suggest adding
the device to SW ACL for auto-authorization on later connections.

Signed-off-by: Yehezkel Bernat <yehezkel.bernat@intel.com>
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/icm.c
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.h
drivers/thunderbolt/tb_msgs.h