<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/thunderbolt/usb4.c, branch linux-5.19.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.19.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.19.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-10-24T07:56:58Z</updated>
<entry>
<title>thunderbolt: Explicitly enable lane adapter hotplug events at startup</title>
<updated>2022-10-24T07:56:58Z</updated>
<author>
<name>Mario Limonciello</name>
</author>
<published>2022-09-26T14:33:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f897e1ce696a6ef43a058152833a33954bbe0def'/>
<id>urn:sha1:f897e1ce696a6ef43a058152833a33954bbe0def</id>
<content type='text'>
commit 5d2569cb4a65c373896ec0217febdf88739ed295 upstream.

Software that has run before the USB4 CM in Linux runs may have disabled
hotplug events for a given lane adapter.

Other CMs such as that one distributed with Windows 11 will enable hotplug
events. Do the same thing in the Linux CM which fixes hotplug events on
"AMD Pink Sardine".

Cc: stable@vger.kernel.org
Signed-off-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>thunderbolt: Move usb4_switch_wait_for_bit() to switch.c</title>
<updated>2021-12-22T14:13:14Z</updated>
<author>
<name>Gil Fine</name>
</author>
<published>2021-12-17T01:16:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1639664fb74f30eaf82231fccbcf4e34a6e71f7f'/>
<id>urn:sha1:1639664fb74f30eaf82231fccbcf4e34a6e71f7f</id>
<content type='text'>
Currently usb4_switch_wait_for_bit() used only in usb4.c Moving to
switch.c to call it from other files. Also change the prefix to "tb_"
to follow to the naming convention.

Signed-off-by: Gil Fine &lt;gil.fine@intel.com&gt;
Signed-off-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>thunderbolt: Add CL0s support for USB4 routers</title>
<updated>2021-12-22T14:13:14Z</updated>
<author>
<name>Gil Fine</name>
</author>
<published>2021-12-17T01:16:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8a90e4fa3b4d6a10c96b0a04abf57bb5a16a8f4e'/>
<id>urn:sha1:8a90e4fa3b4d6a10c96b0a04abf57bb5a16a8f4e</id>
<content type='text'>
In this patch we add enabling of CL0s - a low power state of the link.
Low power states (called collectively CLx) are used to reduce
transmitter and receiver power when a high-speed lane is idle. For now,
we add support only for first low power state: CL0s.  We enable it, if
both sides of the link support it, and only for the first hop router.
(i.e. the first device that connected to the host router). This is
needed for better thermal management.

Signed-off-by: Gil Fine &lt;gil.fine@intel.com&gt;
Signed-off-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>thunderbolt: Add WRITE_ONLY and AUTHENTICATE_ONLY NVM operations for retimers</title>
<updated>2021-06-01T07:53:32Z</updated>
<author>
<name>Rajmohan Mani</name>
</author>
<published>2021-04-12T12:29:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=faa1c615f0bdd4f3ac5288bf2952f49dfeac916c'/>
<id>urn:sha1:faa1c615f0bdd4f3ac5288bf2952f49dfeac916c</id>
<content type='text'>
The same way we support these two operations for USB4 routers we can
extend the retimer NVM operations to support retimers also.

Signed-off-by: Rajmohan Mani &lt;rajmohan.mani@intel.com&gt;
Co-developed-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Signed-off-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Reviewed-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>thunderbolt: Allow router NVM authenticate separately</title>
<updated>2021-06-01T07:53:32Z</updated>
<author>
<name>Mika Westerberg</name>
</author>
<published>2021-04-12T12:25:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1cbf680f7687f55ae5a1405556519bc70d66a616'/>
<id>urn:sha1:1cbf680f7687f55ae5a1405556519bc70d66a616</id>
<content type='text'>
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 &lt;mika.westerberg@linux.intel.com&gt;
Reviewed-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>thunderbolt: Add additional USB4 port operations for retimer access</title>
<updated>2021-06-01T07:53:31Z</updated>
<author>
<name>Rajmohan Mani</name>
</author>
<published>2021-04-01T15:38:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3406de7cc20f254010f2f17450a58541fb77ffea'/>
<id>urn:sha1:3406de7cc20f254010f2f17450a58541fb77ffea</id>
<content type='text'>
When accessing retimers when there is no cable connected we are going to
need additional USB4 port operations. First the port needs to be put
into offline mode, and then the sideband channel transactions must be
enabled on the SBTX line. This adds support for these operations.

Signed-off-by: Rajmohan Mani &lt;rajmohan.mani@intel.com&gt;
Signed-off-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Reviewed-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>thunderbolt: Add USB4 port devices</title>
<updated>2021-06-01T07:53:31Z</updated>
<author>
<name>Mika Westerberg</name>
</author>
<published>2021-04-01T14:34:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cae5f5151d76635f6b5c08133184c48048346e63'/>
<id>urn:sha1:cae5f5151d76635f6b5c08133184c48048346e63</id>
<content type='text'>
Create devices for each USB4 port. This is needed when we add retimer
access when there is no device connected but may be useful for other
purposes too following what USB subsystem does. This exports a single
attribute "link" that shows the type of the USB4 link (or "none" if
there is no cable connected).

Signed-off-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Reviewed-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>thunderbolt: Log the link as TBT instead of TBT3</title>
<updated>2021-06-01T07:53:31Z</updated>
<author>
<name>Mika Westerberg</name>
</author>
<published>2021-04-01T17:16:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0f28879cf6836f170773a9456c856e1f08f56764'/>
<id>urn:sha1:0f28879cf6836f170773a9456c856e1f08f56764</id>
<content type='text'>
The upstream port can be connected to any previous generation
Thunderbolt port so logging as "TBT" is more accurate than "TBT3.

No functional changes.

Signed-off-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Reviewed-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>thunderbolt: Read router preferred credit allocation information</title>
<updated>2021-06-01T07:48:59Z</updated>
<author>
<name>Mika Westerberg</name>
</author>
<published>2021-03-10T11:34:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=56ad3aef5cdac0695944985f7f70209aec0efd4d'/>
<id>urn:sha1:56ad3aef5cdac0695944985f7f70209aec0efd4d</id>
<content type='text'>
USB4 routers must expose their preferred credit (buffer) allocation
information through router operation. This information tells the
connection manager how the router prefers its buffers to be allocated to
get the expected bandwidth for the supported protocols.

Read this information and store it as part of struct tb_switch for each
USB4 router.

Signed-off-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>thunderbolt: Align USB4 router wakes configuration with the CM guide</title>
<updated>2021-05-31T11:40:08Z</updated>
<author>
<name>Mika Westerberg</name>
</author>
<published>2021-01-14T14:41:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3caf88871c6ad0bf7c5fca8a6f7fcada1891a891'/>
<id>urn:sha1:3caf88871c6ad0bf7c5fca8a6f7fcada1891a891</id>
<content type='text'>
The USB4 Configuration Manager guide suggests that the USB4 port wakes
are configured in a certain way, like that when the port is configured
the wake-on-connect should not be set and so forth, so align the driver
with this.

Signed-off-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
</content>
</entry>
</feed>
