From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: Tobias Heath <heathtobias@gmail.com>
Cc: Andreas Noever <andreas.noever@gmail.com>,
Mika Westerberg <westeri@kernel.org>,
Yehezkel Bernat <YehezkelShB@gmail.com>,
Sukhdeep Singh <sukhdeeps@marvell.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Richard Cochran <richardcochran@gmail.com>,
linux-usb@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] thunderbolt: add opt-in to preserve tunnels across s2idle
Date: Wed, 25 Nov 2026 15:52:07 +0100 [thread overview]
Message-ID: <20261125145207.GH191152@black.igk.intel.com> (raw)
In-Reply-To: <8e87af01-02a8-4714-827a-62c5beb6f4e4@gmail.com>
Hi,
On Wed, Nov 25, 2026 at 02:42:58PM +0000, Tobias Heath wrote:
> Mika,
>
> Because s2idle is Linux's path to Modern Standby — "look off / wake instant
> / state preserved". From ACPI's perspective the system never leaves S0
> during s2idle; the tb_suspend_noirq callback fires anyway because Linux's PM
> core runs the full suspend chain on every s2idle. That's the mismatch I'm
> trying to address: the ACPI state says "we're idle in S0", but the TB driver
> treats the event as a real suspend and tears down the fabric.
Ah got it. So no it's not the same as Windows. In Linux there are two ways
you can get to the S0ix and you are after the second one. First is what you
are doing now, that's suspend-to-idle and it is pretty much the same as Sx
is except that the OS idles the CPUs and is in full control. All the
devices (not just TB) go through a full suspend/resume cycle (typically).
Then there is the MS equivalent that happens when the system is running and
is sufficiently idle. All the "important" devices like graphics are runtime
suspended (screen is blank) then the system automatically enters S0ix due
to the same mechanism, CPUs are idled. This is what you want I think.
For that you need to look that you have all the drivers loaded and the
necessary firmwares and there is at least on Intel debugfs files under
pmc_core that show what is needed and what states actually are entered.
next prev parent reply other threads:[~2026-11-25 15:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 12:39 [PATCH 0/2] thunderbolt + atlantic: preserve dock across s2idle; fix surprise-removed deadlock Tobias Heath
2026-11-25 12:45 ` [PATCH 1/2] thunderbolt: add opt-in to preserve tunnels across s2idle Tobias Heath
2026-11-25 12:48 ` [PATCH 2/2] atlantic: skip hardware teardown when PCIe parent is Tobias Heath
2026-11-25 13:22 ` [PATCH 1/2] thunderbolt: add opt-in to preserve tunnels across s2idle Mika Westerberg
2026-11-25 14:26 ` Tobias Heath
2026-11-25 14:35 ` Mika Westerberg
2026-11-25 14:42 ` Tobias Heath
2026-11-25 14:52 ` Mika Westerberg [this message]
2026-11-25 15:16 ` Tobias Heath
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261125145207.GH191152@black.igk.intel.com \
--to=mika.westerberg@linux.intel.com \
--cc=YehezkelShB@gmail.com \
--cc=andreas.noever@gmail.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=heathtobias@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=richardcochran@gmail.com \
--cc=sukhdeeps@marvell.com \
--cc=westeri@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®