Skip to contentSkip to conversation

platform/x86/amd/pmc: Delay suspend for HP EliteBook 845 G10

PATCH New Konstantin Pospelov 1 participant 1 message Nov 8

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform/x86/amd/pmc: Delay suspend for HP EliteBook 845 G10

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.

---
 drivers/platform/x86/amd/pmc/pmc-quirks.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/platform/x86/amd/pmc/pmc-quirks.c +9 -0
index fed6c51879fc..037bb575870f 100644
@@ -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,
Signature · 1 line
2.56.0