OSDN Git Service

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)
commit14862ee308bbcaae0ac9927b6cbccccb51386b6c
tree5052d4e77b83a46557e61c5e2e6c7af66e72e804
parent3080e197e936ab7cdcf66cacec22abe5c6c1007a
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