From: sashiko-bot@kernel.org
To: "Jason Kim" <dialogbox@gmail.com>
Cc: linux-usb@vger.kernel.org
Subject: Re: [RFC PATCH] usb: xhci-pci: resume Lunar Lake xHC before system suspend
Date: Thu, 26 Nov 2026 00:27:19 +0000 [thread overview]
Message-ID: <sashiko-outbox-234475@kernel.org> (raw)
In-Reply-To: <20261126002006.25823-1-dialogbox@gmail.com>
> On a ThinkPad T14s Gen 6 (Lunar Lake), suspend-to-idle often fails to
> reach S0ix when the PCH xHC (8086:a87d) is runtime-suspended when the
> system suspend starts. The Intel PMT counters show the PCH blocking
> package C6 (PREVENT_PKGC6_CHIPSET_1/2) for the whole sleep period, and
> the package stays in PC2. No LPS0 constraint is reported as unmet.
>
> A runtime-suspended PCI host controller is runtime-resumed by
> pci_pm_suspend() and then suspended again, so it goes through a
> D3hot -> D0 -> D3hot cycle in the middle of the system suspend
> transition. If the controller is kept active until the transition
> starts (power/control set to "on"), S0ix is reached reliably.
>
> Add an HCD flag that makes hcd_pci_prepare() runtime-resume the
> controller before any device is suspended, and set it for the Lunar
> Lake xHC through a new quirk. The PM core holds a runtime PM reference
> [ ... ]
> the tests above on my machine.
>
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=222281
> Link: https://lore.kernel.org/linux-usb/CANb8v8EGmQf90hRvr8cE3vTKOOY8b6LTxki1uORW_TJ9HadrZw@mail.gmail.com/
> Signed-off-by: Jason Kim <dialogbox@gmail.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126002006.25823-1-dialogbox@gmail.com?part=1
prev parent reply other threads:[~2026-11-26 0:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 9:24 [REGRESSION] Lunar Lake: s2idle randomly misses S0ix when PCH xHCI (8086:a87d) is runtime-suspended; much worse since 7.3 Jun Cheol Gim
2026-11-26 0:20 ` [RFC PATCH] usb: xhci-pci: resume Lunar Lake xHC before system suspend Jason Kim
2026-11-26 0:27 ` sashiko-bot [this message]
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=sashiko-outbox-234475@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dialogbox@gmail.com \
--cc=linux-usb@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.