mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] platform/x86/amd/pmc: Delay suspend for HP EliteBook 845 G10
@ 2026-11-08 20:48 Konstantin Pospelov
  0 siblings, 0 replies; only message in thread
From: Konstantin Pospelov @ 2026-11-08 20:48 UTC (permalink / raw)
  To: Shyam Sundar S K, Hans de Goede, Ilpo Järvinen
  Cc: platform-driver-x86, linux-kernel, Konstantin Pospelov

On the HP EliteBook 845 G10 (Ryzen 7 7840U), the CPU stays stuck at 544
MHz after resume from s2idle. Delaying suspend avoids this.

Tested with and without the patch over 6 cycles:
1. Suspend.
2. Connect the charger.
3. Resume.

The issue was reproduced 3 times, and was not reproducible 3 times with
the patch.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=218557
Signed-off-by: Konstantin Pospelov <kupospelov@gmail.com>
---
 drivers/platform/x86/amd/pmc/pmc-quirks.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/platform/x86/amd/pmc/pmc-quirks.c b/drivers/platform/x86/amd/pmc/pmc-quirks.c
index fed6c51879fc..037bb575870f 100644
--- a/drivers/platform/x86/amd/pmc/pmc-quirks.c
+++ b/drivers/platform/x86/amd/pmc/pmc-quirks.c
@@ -297,6 +297,15 @@ static const struct dmi_system_id fwbug_list[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "83N1"),
 		}
 	},
+	/* https://bugzilla.kernel.org/show_bug.cgi?id=218557 */
+	{
+		.ident = "HP EliteBook 845 G10",
+		.driver_data = &quirk_s2idle_need_suspend_delay,
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "HP"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "HP EliteBook 845 14 inch G10 Notebook PC"),
+		}
+	},
 	{
 		.ident = "HP Laptop 14-fq1xxx",
 		.driver_data = &quirk_s2idle_spurious_8042,
-- 
2.56.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-08 20:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-08 20:48 [PATCH] platform/x86/amd/pmc: Delay suspend for HP EliteBook 845 G10 Konstantin Pospelov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®