All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 221893] New: amd_pmc - Last suspend didn't reach deepest state on HP ProBook 445 14 G11 (AMD Ryzen 7 7735U)
@ 2026-08-16  6:40 bugzilla-daemon
  2026-08-16  6:41 ` [Bug 221893] " bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2026-08-16  6:40 UTC (permalink / raw)
  To: platform-driver-x86

https://bugzilla.kernel.org/show_bug.cgi?id=221893

            Bug ID: 221893
           Summary: amd_pmc - Last suspend didn't reach deepest state on
                    HP ProBook 445 14 G11 (AMD Ryzen 7 7735U)
           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: rayshuee@gmail.com
        Regression: No

The HP ProBook 445 14 inch G11 Notebook PC (AMD Ryzen 7 7735U / Rembrandt,
board 8C79) fails to reach the deepest s2idle sleep state when the PS/2
keyboard (i8042) is registered as a wakeup source.

Every suspend cycle logs:

  amd_pmc AMDI0007:00: Last suspend didn't reach deepest state

Because the SoC never enters PC10/S0i3, the GPU power domain is not fully
powered down. On resume, the SMU is in an inconsistent state, leading to
a cascade of amdgpu failures:

  amdgpu 0000:05:00.0: failed to write reg 1aa89 wait reg 1aa8a
  amdgpu 0000:05:00.0: SMU is resuming...
  amdgpu 0000:05:00.0: SMU is resumed successfully!
  amdgpu 0000:05:00.0: [drm] *ERROR* IB test failed on gfx_0.0.0 (-110).
  amdgpu 0000:05:00.0: ib ring test failed (-110).
  amdgpu 0000:05:00.0: SMU: No response msg_reg: 1a resp_reg: 0
  amdgpu 0000:05:00.0: Failed to disable gfxoff!
  amdgpu 0000:05:00.0: ring sdma0 timeout
  amdgpu 0000:05:00.0: GPU reset begin!
  amdgpu 0000:05:00.0: GPU Recovery Failed: -62
  amdgpu 0000:05:00.0: ASIC reset failed

The system remains accessible via SSH but the display never recovers,
requiring a hard reboot.


HARDWARE INFORMATION

  CPU: AMD Ryzen 7 7735U with Radeon Graphics (Rembrandt / Zen3+)
  GPU: AMD YELLOW_CARP (DCN 3.1.2, GFX 10.3.x) - integrated
  PMC: amd_pmc AMDI0007:00, SMU firmware 69.71.0 (program 4)
  BIOS: HP W78 Ver. 01.08.01 (03/11/2026) - latest available
  EC firmware: 6.50 - latest available
  Board vendor: HP
  Board name: 8C79
  Product name: HP ProBook 445 14 inch G11 Notebook PC
  Sleep mode: s2idle only (no S3/deep support)


ROOT CAUSE

This is an EC (Embedded Controller) firmware bug. The EC triggers spurious
IRQ1 (PS/2 keyboard) wakeups without any keyboard activity, preventing the
SoC from reaching its deepest sleep state (PC10/S0i3).

This is the same class of bug already handled for many other AMD laptops
in drivers/platform/x86/amd/pmc/pmc-quirks.c:

  - Lenovo ThinkPads (T14/X13/P14s Gen1-2 AMD) - quirk_s2idle_spurious_8042
  - HP Laptop 15s-eq2xxx - quirk_s2idle_spurious_8042
  - Framework Laptop 13 (Phoenix) - quirk_spurious_8042
  - MECHREVO Wujie 14X - quirk_spurious_8042
  - PCSpecialist Lafite Pro V 14M - quirk_spurious_8042 (bugzilla #220116)

The issue persists even with the latest HP firmware (BIOS W78 01.08.01,
EC 6.50), indicating HP has not fixed this in their EC firmware.


WORKAROUND

Disabling i8042 wakeup fully resolves the issue:

  echo disabled | sudo tee /sys/bus/serio/devices/serio0/power/wakeup

After this, suspend reaches deep s2idle, the GPU powers down correctly,
and resume is clean with no amdgpu errors. The keyboard wake-up function
is not affected in practice -- the laptop wakes via lid sensor or power
button, which is the expected behavior on laptop hardware.


PROPOSED FIX

Add the HP ProBook 445 14 G11 (board 8C79) to the fwbug_list in
drivers/platform/x86/amd/pmc/pmc-quirks.c:

  /* HP ProBook 445 14 G11: EC triggers spurious IRQ1, blocking deep s2idle */
  {
      .ident = "HP ProBook 445 14 inch G11 Notebook PC",
      .driver_data = &quirk_s2idle_spurious_8042,
      .matches = {
          DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
          DMI_MATCH(DMI_BOARD_NAME, "8C79"),
      }
  },

This follows the same pattern as the existing HP Laptop 15s-eq2xxx entry
(gitlab drm/amd #2684), which uses quirk_s2idle_spurious_8042 for the
same class of bug on HP hardware.

Patch is attached.


STEPS TO REPRODUCE

1. Boot the system with default configuration (i8042 wakeup enabled)
2. Run: sudo systemctl suspend
3. Wait a few seconds, then wake the system
4. Observe: display remains black, SSH may work but GPU is non-functional
5. Check dmesg: amd_pmc AMDI0007:00: Last suspend didn't reach deepest state
   followed by amdgpu SMU/IB test/GFXOFF errors


STEPS TO VERIFY WORKAROUND

1. Run: echo disabled | sudo tee /sys/bus/serio/devices/serio0/power/wakeup
2. Run: sudo systemctl suspend
3. Wake the system
4. Observe: display recovers normally, system fully functional
5. Check dmesg: no "Last suspend didn't reach deepest state" message,
   no amdgpu errors, SMU resumes cleanly


LOGS

Before workaround (broken):

  PM: suspend entry (s2idle)
  amd_pmc AMDI0007:00: Last suspend didn't reach deepest state
  amdgpu 0000:05:00.0: failed to write reg 1aa89 wait reg 1aa8a
  amdgpu 0000:05:00.0: SMU is resuming...
  amdgpu 0000:05:00.0: SMU is resumed successfully!
  amdgpu 0000:05:00.0: [drm] *ERROR* IB test failed on gfx_0.0.0 (-110).
  amdgpu 0000:05:00.0: ib ring test failed (-110).
  amdgpu 0000:05:00.0: SMU: No response msg_reg: 1a resp_reg: 0
  amdgpu 0000:05:00.0: Failed to disable gfxoff!
  amdgpu 0000:05:00.0: ring sdma0 timeout
  amdgpu 0000:05:00.0: GPU reset begin!
  amdgpu 0000:05:00.0: GPU Recovery Failed: -62

After workaround (working):

  PM: suspend entry (s2idle)
  PM: suspend exit
  amdgpu 0000:05:00.0: SMU is resuming...
  amdgpu 0000:05:00.0: SMU is resumed successfully!
  (no errors, display recovers normally)

-- 
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] 4+ messages in thread

* [Bug 221893] amd_pmc - Last suspend didn't reach deepest state on HP ProBook 445 14 G11 (AMD Ryzen 7 7735U)
  2026-08-16  6:40 [Bug 221893] New: amd_pmc - Last suspend didn't reach deepest state on HP ProBook 445 14 G11 (AMD Ryzen 7 7735U) bugzilla-daemon
@ 2026-08-16  6:41 ` bugzilla-daemon
  2026-08-16 16:18 ` bugzilla-daemon
  2026-08-16 16:20 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2026-08-16  6:41 UTC (permalink / raw)
  To: platform-driver-x86

https://bugzilla.kernel.org/show_bug.cgi?id=221893

--- Comment #1 from Ray Xue (rayshuee@gmail.com) ---
Created attachment 310660
  --> https://bugzilla.kernel.org/attachment.cgi?id=310660&action=edit
hp-probook-445-g11-s2idle-quirk.patch

-- 
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] 4+ messages in thread

* [Bug 221893] amd_pmc - Last suspend didn't reach deepest state on HP ProBook 445 14 G11 (AMD Ryzen 7 7735U)
  2026-08-16  6:40 [Bug 221893] New: amd_pmc - Last suspend didn't reach deepest state on HP ProBook 445 14 G11 (AMD Ryzen 7 7735U) bugzilla-daemon
  2026-08-16  6:41 ` [Bug 221893] " bugzilla-daemon
@ 2026-08-16 16:18 ` bugzilla-daemon
  2026-08-16 16:20 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2026-08-16 16:18 UTC (permalink / raw)
  To: platform-driver-x86

https://bugzilla.kernel.org/show_bug.cgi?id=221893

Mario Limonciello (AMD) (mario.limonciello@amd.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mario.limonciello@amd.com

--- Comment #2 from Mario Limonciello (AMD) (mario.limonciello@amd.com) ---
> ROOT CAUSE

Are you sure your agent got the root cause right?  Does it fail every time
without the patch?  Does this patch fix it every time?

I would prefer to see an amd-s2idle report to confirm this.  You may consider
using amd-s2idle to stress both patched and unpatched cases too (it has
arguments to allow running a stress cycle).

>   amdgpu 0000:05:00.0: failed to write reg 1aa89 wait reg 1aa8a
>   amdgpu 0000:05:00.0: [drm] *ERROR* IB test failed on gfx_0.0.0 (-110).
>  amdgpu 0000:05:00.0: ib ring test failed (-110).
>  amdgpu 0000:05:00.0: SMU: No response msg_reg: 1a resp_reg: 0

I say all my comments above because this is pretty "unusual" to be tied to
suspend failure tied to an EC issue.  That's behavior that resembles graphics
not being ready.

> Created attachment 310660 [details]
> hp-probook-445-g11-s2idle-quirk.patch

This isn't the way to upstream patches.

Can you please submit the patch to the platform-driver-x86 mailing list?
https://www.kernel.org/doc/html/latest/process/submitting-patches.html

-- 
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] 4+ messages in thread

* [Bug 221893] amd_pmc - Last suspend didn't reach deepest state on HP ProBook 445 14 G11 (AMD Ryzen 7 7735U)
  2026-08-16  6:40 [Bug 221893] New: amd_pmc - Last suspend didn't reach deepest state on HP ProBook 445 14 G11 (AMD Ryzen 7 7735U) bugzilla-daemon
  2026-08-16  6:41 ` [Bug 221893] " bugzilla-daemon
  2026-08-16 16:18 ` bugzilla-daemon
@ 2026-08-16 16:20 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2026-08-16 16:20 UTC (permalink / raw)
  To: platform-driver-x86

https://bugzilla.kernel.org/show_bug.cgi?id=221893

--- Comment #3 from Mario Limonciello (AMD) (mario.limonciello@amd.com) ---
> Because the SoC never enters PC10/S0i3

What?  AMD doesn't have a concept of PC10.

> the GPU power domain is not fully powered down.

Other way around.  If either the display or graphics IP are in the wrong state,
you can't enter s0i3.

-- 
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] 4+ messages in thread

end of thread, other threads:[~2026-08-16 16:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-16  6:40 [Bug 221893] New: amd_pmc - Last suspend didn't reach deepest state on HP ProBook 445 14 G11 (AMD Ryzen 7 7735U) bugzilla-daemon
2026-08-16  6:41 ` [Bug 221893] " bugzilla-daemon
2026-08-16 16:18 ` bugzilla-daemon
2026-08-16 16:20 ` 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.