* [Bug 221755] New: amd_pmc: ThinkPad T14 Gen 2 AMD machine type 20XL missing from s2idle quirk list - intermittent ~10s resume from s2idle
@ 2026-07-16 1:13 bugzilla-daemon
2026-07-16 1:13 ` [Bug 221755] " bugzilla-daemon
0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2026-07-16 1:13 UTC (permalink / raw)
To: platform-driver-x86
https://bugzilla.kernel.org/show_bug.cgi?id=221755
Bug ID: 221755
Summary: amd_pmc: ThinkPad T14 Gen 2 AMD machine type 20XL
missing from s2idle quirk list - intermittent ~10s
resume from s2idle
Product: Drivers
Version: 2.5
Hardware: AMD
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: Platform_x86
Assignee: drivers_platform_x86@kernel-bugs.osdl.org
Reporter: ywc8891@gmail.com
CC: mario.limonciello@amd.com
Regression: No
Hardware: Lenovo ThinkPad T14 Gen 2a, machine type 20XLS41C00
(DMI product name "20XLS41C00"), Ryzen 5 PRO 5650U (Cezanne),
BIOS R1MET62W (1.32, 2025-06-26), Samsung PM9A1-class NVMe.
Kernel: 6.12.95 (Debian 13); also verified missing in current mainline.
The ThinkPad T14 Gen 2 AMD was sold under two machine types, 20XK and
20XL. The s2idle quirk list in drivers/platform/x86/amd/pmc/pmc-quirks.c
(originally added in 455cd867b85b, "platform/x86: thinkpad_acpi: Add a
s2idle resume quirk for a number of laptops") only matches 20XK, so on
20XL machines the quirk never applies (no "Using s2idle quirk" message
at probe) and the firmware SMI handler runs on the NVMe D3->D0
transition when exiting suspend-to-idle.
Symptom: with IOMMU translation enabled (default), resume from s2idle
intermittently takes ~10 seconds. With /sys/power/pm_print_times
enabled, seven devices across three PCIe root ports all stall in
pci_pm_resume_noirq for ~10.25s and are released at the same instant
(consistent with all cores held in SMM):
snd_hda_intel 0000:07:00.6: PM: pci_pm_resume_noirq returned 0 after
10257983 usecs
snd_hda_intel 0000:07:00.1: PM: pci_pm_resume_noirq returned 0 after
10247499 usecs
snd_rn_pci_acp3x 0000:07:00.5: PM: pci_pm_resume_noirq returned 0 after
10258065 usecs
xhci_hcd 0000:07:00.4: PM: pci_pm_resume_noirq returned 0 after 10258121
usecs
xhci_hcd 0000:07:00.3: PM: pci_pm_resume_noirq returned 0 after 10258198
usecs
xhci-pci-renesas 0000:06:00.0: PM: pci_pm_resume_noirq returned 0 after
10247641 usecs
nvme 0000:01:00.0: PM: pci_pm_resume_noirq returned 0 after 10247719 usecs
This is the same firmware bug the existing quirk addresses for 20XK and
siblings, and the same class of omission as 9a469c6dfab3
("platform/x86: thinkpad_acpi: Add missing T14s Gen1 type to s2idle
quirk list").
Verification: I built amd-pmc with the attached one-entry patch adding
DMI product name "20XL" (mirroring the 20XK entry). On load the driver
reports:
Using s2idle quirk to avoid T14 Gen2 AMD platform firmware bug
and a subsequent 14-hour suspend resumed in ~1s with no noirq stalls,
where previously even ~8-minute suspends could hit the ~10s delay.
A further two-day soak test with the patched module (short ~5-minute
naps and two separate ~14-hour overnight suspends) showed every resume
completing in ~1s with no pci_pm_resume_noirq stall on any device.
Patch attached. Signed-off-by/Tested-by: Yap Weei Choong <ywc8891@gmail.com>.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-16 1:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-16 1:13 [Bug 221755] New: amd_pmc: ThinkPad T14 Gen 2 AMD machine type 20XL missing from s2idle quirk list - intermittent ~10s resume from s2idle bugzilla-daemon
2026-07-16 1:13 ` [Bug 221755] " bugzilla-daemon
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.