Re: [PATCH 1/2] thunderbolt: add opt-in to preserve tunnels across s2idle
From: Mika Westerberg
Date: Wed Nov 25 2026 - 09:35:44 EST
Hi,
On Wed, Nov 25, 2026 at 02:26:56PM +0000, Tobias Heath wrote:
> Hello,
>
> Many thanks for your reply.
>
>
> On this hardware the dock-side host router is pinned in D0 by active USB4
> tunnels and has not runtime-suspended since boot (active_time=515s,
> suspended_time=0). The quiet host router does go to D3cold exactly as the
> spec describes. The s2idle_preserve=1 path keeps the state that runtime-PM
> would have kept anyway — it prevents the system-suspend path from forcing a
> D3cold transition that tears down tunnels users still have open. Would you
> be open to a v2 that scopes to 'suspend target is s2idle AND domain has
> active tunnels' rather than a global module parameter?
Okay so you blocked D3 entry intentionally. Why you are even entering
s2idle if you want to keep the tunnels up? Why not stay in S0 then.