Linux Power Management development
 help / color / mirror / Atom feed
From: Fourhundred Thecat <400thecat@ik.me>
To: Mario Limonciello <mario.limonciello@amd.com>,
	platform-driver-x86@vger.kernel.org
Cc: linux-pm@vger.kernel.org, Shyam-sundar.S-k@amd.com,
	hansg@kernel.org, ilpo.jarvinen@linux.intel.com,
	rafael@kernel.org
Subject: Re: [BUG] s2idle: unrecoverable sleep on ThinkPad P16s Gen 4 AMD, (Strix Point) when more than 16 logical CPUs are online
Date: Fri, 25 Sep 2026 09:05:41 +0200	[thread overview]
Message-ID: <3a080b50-6396-bf8f-2e70-011b85c15fe2@ik.me> (raw)
In-Reply-To: <8f06af84-c0fb-4d24-8868-bf16a1678b4a@amd.com>

resolved by resetting BIOS to factory defaults

after that, I tried painstakingly to enable/disable one by one

The cause is two BIOS settings, and the reason it took so long to find 
is that they are independently sufficient:

   AmdVt (AMD virtualization)        Disable  -> breaks s2idle wake
   PlutonSecurityProcessor           Disable  -> breaks s2idle wake

Either one alone is enough. Both must be enabled for the machine to 
resume. The full matrix, all with the IOMMU enabled and 24 CPUs online:

   AmdVt      Pluton     result
   Enable     Disable    no wake
   Disable    Enable     no wake
   Disable    Disable    no wake
   Enable     Enable     wakes normally

I had both disabled.
It also explains the confusing bisect: when I tested AmdVt=Enable with 
everything else at my settings it still hung, and when I tested 
Pluton=Enable with everything else at my settings it still hung, so I 
eliminated both. Each test only showed the setting was not necessary; 
neither showed it was not sufficient. With two independent triggers 
those observations are both true at once and single-setting elimination 
gives nothing.

So amd_iommu=off and nr_cpus=16 were both masking this rather than 
telling us anything about the kernel.

this is clearly a Lenovo BIOS bug. should this be reported to them ?

thank you for your help !

  parent reply	other threads:[~2026-09-25  7:05 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-22 13:43 [BUG] s2idle: unrecoverable sleep on ThinkPad P16s Gen 4 AMD, (Strix Point) when more than 16 logical CPUs are online Fourhundred Thecat
2026-09-22 14:47 ` Mario Limonciello
2026-09-23  5:58   ` Fourhundred Thecat
2026-09-23 12:41     ` Mario Limonciello
2026-09-23 13:51       ` Fourhundred Thecat
2026-09-23 14:36         ` Mario Limonciello
2026-09-23 16:12           ` Fourhundred Thecat
2026-09-23 16:15             ` Mario Limonciello
2026-09-23 16:20               ` Mario Limonciello
2026-09-23 16:37                 ` Fourhundred Thecat
2026-09-23 16:41                   ` Mario Limonciello
2026-09-23 16:54                     ` Fourhundred Thecat
2026-09-23 16:59                       ` Mario Limonciello
2026-09-23 18:02                         ` Fourhundred Thecat
2026-09-23 18:11                           ` Mario Limonciello
2026-09-23 18:14                             ` Fourhundred Thecat
2026-09-23 18:25                               ` Mario Limonciello
2026-09-23 18:39                                 ` Fourhundred Thecat
2026-09-23 18:57                                   ` Mario Limonciello
2026-09-23 19:13                                     ` Fourhundred Thecat
2026-09-23 19:20                                       ` Mario Limonciello
2026-09-23 20:26                                         ` Fourhundred Thecat
2026-09-23 20:48                                           ` Fourhundred Thecat
2026-09-23 21:10                                             ` Mario Limonciello
2026-09-24  5:36                                               ` Fourhundred Thecat
2026-09-25  7:05                                               ` Fourhundred Thecat [this message]
2026-09-25 13:30                                                 ` Mario Limonciello
2026-09-26  4:13                                                   ` Fourhundred Thecat
2026-09-26 18:29                                                     ` Mario Limonciello
2026-09-29  5:43                                                       ` Fourhundred Thecat
2026-09-29  5:57                                                         ` Fourhundred Thecat
2026-09-29 13:37                                                           ` Mario Limonciello

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=3a080b50-6396-bf8f-2e70-011b85c15fe2@ik.me \
    --to=400thecat@ik.me \
    --cc=Shyam-sundar.S-k@amd.com \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=rafael@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