Re: [PATCH] thunderbolt: Add 'generation' attribute for devices

From: Mika Westerberg
Date: Wed Oct 09 2019 - 06:10:55 EST


On Thu, Oct 03, 2019 at 07:32:40PM +0200, Christian Kellner wrote:
> From: Christian Kellner <christian@xxxxxxxxxx>
>
> The Thunderbolt standard went through several major iterations, here
> called generation. USB4, which will be based on Thunderbolt, will be
> generation 4. Let userspace know the generation of the controller in
> the devices in order to distinguish between Thunderbolt and USB4, so
> it can be shown in various user interfaces.
>
> Signed-off-by: Christian Kellner <christian@xxxxxxxxxx>
> ---
> Documentation/ABI/testing/sysfs-bus-thunderbolt | 8 ++++++++
> drivers/thunderbolt/switch.c | 10 ++++++++++
> 2 files changed, 18 insertions(+)
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-thunderbolt b/Documentation/ABI/testing/sysfs-bus-thunderbolt
> index b21fba14689b..630e51344f1c 100644
> --- a/Documentation/ABI/testing/sysfs-bus-thunderbolt
> +++ b/Documentation/ABI/testing/sysfs-bus-thunderbolt
> @@ -80,6 +80,14 @@ Contact: thunderbolt-software@xxxxxxxxxxxx
> Description: This attribute contains 1 if Thunderbolt device was already
> authorized on boot and 0 otherwise.
>
> +What: /sys/bus/thunderbolt/devices/.../generation
> +Date: Aug 2019

I updated this to be Jan 2020, which is estimated release date of v5.5
according to http://phb-crystal-ball.org/, and queued it for v5.5.

Thanks!