On Tue, Jun 23, 2020 at 11:14:27AM -0500, Mario Limonciello wrote: > Currently updates to Thunderbolt and USB4 controllers are fully atomic > actions. When writing into the non-active NVM nothing gets flushed to > the hardware until authenticate is sent. > > There has been some desire to improve the perceived performance of these > updates, particularly for userland that may perform the update upon > a performance sensitive time like logging out. > > So allow userland to flush the image to hardware at runtime, and then > allow authenticating the image at another time. > > For the Dell WD19TB some specific hardware capability exists that allows > extending this to automatically complete the update when unplugged. > Export that functionality to userspace as well. > > Changes from v2 to v3: > - Correct some whitespace and kernel-doc comments > - Add another missing 'const' > - For a quirk: (1<<1) -> BIT(0) > > Changes from v1 to v2: > - Improve documentation > - Drop tb-quirks.h > - Adjust function and parameter names to Mika's preferences > - Rebase onto thunderbolt.git/bleeding-edge to move on top of retimer work > > Mario Limonciello (2): > thunderbolt: Add support for separating the flush to SPI and > authenticate > thunderbolt: Add support for authenticate on disconnect Both applied to thunderbolt.git/next, thanks Mario!