Thread (14 messages) flat view 14 messages, 4 authors, 2021-12-07

Re: [PATCH 2/6] thunderbolt: Tear down existing tunnels when resuming from hibernate

From: Lukas Wunner <lukas@wunner.de>
Date: 2021-11-26 20:15:41

On Thu, Nov 25, 2021 at 10:37:29AM +0300, Mika Westerberg wrote:
If the boot firmware implements connection manager of its own it may not
create the paths in the same way or order we do. For example it may
create first PCIe tunnel and the USB3 tunnel. When we restore our
tunnels (first de-activating them) we may be doing that over completely
different tunnel and that leaves them possible non-functional. For this
reason we re-use the tunnel discovery functionality and find out all the
existing tunnels, and tear them down. Once that is done we can restore
our tunnels.
Hm, what if the system is running from a Thunderbolt-attached drive?
Will the mount points survive tearing down and re-establishing the
tunnels to that drive?

Thanks,

Lukas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help