New: amd_pmc: ThinkPad T14 Gen 2 AMD machine type 20XL missing from s2idle quirk list - intermittent ~10s resume from s2idle
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: [email protected]
Reporter: [email protected]
CC: [email protected]
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 usecsThis 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 <[email protected]>.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 221755] amd_pmc: ThinkPad T14 Gen 2 AMD machine type 20XL missing from s2idle quirk list - intermittent ~10s resume from s2idle
https://bugzilla.kernel.org/show_bug.cgi?id=221755
--- Comment #1 from [email protected] ---
Created attachment 310454
--> https://bugzilla.kernel.org/attachment.cgi?id=310454&action=edit
Add T14 Gen2 AMD (20XL) to s2idle quirk list
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 221755] amd_pmc: ThinkPad T14 Gen 2 AMD machine type 20XL missing from s2idle quirk list - intermittent ~10s resume from s2idle
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=221755
Hans de Goede ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #2 from Hans de Goede ([email protected]) --- Thank you for your patch.
The patch looks good to me, can you please submit this to the mailinglist using "git send-email" to send it to [email protected] ?
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 221755] amd_pmc: ThinkPad T14 Gen 2 AMD machine type 20XL missing from s2idle quirk list - intermittent ~10s resume from s2idle
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=221755
--- Comment #3 from [email protected] ---
Patch submitted to the mailing list as requested:
https://lore.kernel.org/platform-driver-x86/[email protected]/
(sent 2026-07-17 via git send-email to [email protected],
Cc: [email protected], [email protected], [email protected], [email protected], [email protected])
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.