[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200622143035.25327-1-mario.limonciello@dell.com>
Date: Mon, 22 Jun 2020 09:30:33 -0500
From: Mario Limonciello <mario.limonciello@...l.com>
To: Andreas Noever <andreas.noever@...il.com>,
Michael Jamet <michael.jamet@...el.com>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Yehezkel Bernat <YehezkelShB@...il.com>
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
Mario Limonciello <mario.limonciello@...l.com>
Subject: [PATCH 0/2] Allow breaking up Thunderbolt/USB4 updates
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.
This patch series is done relative thunderbolt.git/next.
Mario Limonciello (2):
thunderbolt: Add support for separating the flush to SPI and
authenticate
thunderbolt: Add support for authenticate on disconnect
.../ABI/testing/sysfs-bus-thunderbolt | 24 +++++-
drivers/thunderbolt/Makefile | 1 +
drivers/thunderbolt/eeprom.c | 2 +
drivers/thunderbolt/lc.c | 14 ++++
drivers/thunderbolt/quirks.c | 38 +++++++++
drivers/thunderbolt/switch.c | 81 +++++++++++++++----
drivers/thunderbolt/tb-quirks.h | 16 ++++
drivers/thunderbolt/tb.h | 4 +
drivers/thunderbolt/tb_regs.h | 1 +
9 files changed, 162 insertions(+), 19 deletions(-)
create mode 100644 drivers/thunderbolt/quirks.c
create mode 100644 drivers/thunderbolt/tb-quirks.h
--
2.25.1
Powered by blists - more mailing lists