thunderbolt: Allow router NVM authenticate separately
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 12 Apr 2021 12:25:08 +0000 (15:25 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 1 Jun 2021 07:53:32 +0000 (10:53 +0300)
commit1cbf680f7687f55ae5a1405556519bc70d66a616
treeeb5ac85abaffcae38f4924a2f667b84e00e62eaa
parentff3a8306456755689babc7bcc29c60e582738c7b
thunderbolt: Allow router NVM authenticate separately

It may be useful if the actual NVM authentication can be delayed to be
run later, for instance when the user logs out. For this reason add a
new NVM operation (AUHENTICATE_ONLY) that just triggers the authentication
procedure over whatever was written to the NVM storage.

This is not supported with Thunderbolt 1-3 devices, though.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-bus-thunderbolt
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.h
drivers/thunderbolt/usb4.c