]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform/x86/amd/pmc: Add PCSpecialist Lafite Pro V 14M to 8042 quirks list
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 11 Jun 2025 20:33:40 +0000 (15:33 -0500)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 13 Jun 2025 12:08:46 +0000 (15:08 +0300)
Every other s2idle cycle fails to reach hardware sleep when keyboard
wakeup is enabled.  This appears to be an EC bug, but the vendor
refuses to fix it.

It was confirmed that turning off i8042 wakeup avoids ths issue
(albeit keyboard wakeup is disabled).  Take the lesser of two evils
and add it to the i8042 quirk list.

Reported-by: Raoul <ein4rth@gmail.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=220116
Tested-by: Raoul <ein4rth@gmail.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20250611203341.3733478-1-superm1@kernel.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/amd/pmc/pmc-quirks.c

index 5c7c01f66cde0a35a5cdd2155c9fa7766e17983f..f292111bd065c148a619d55844ef61abf7cf8c44 100644 (file)
@@ -225,6 +225,15 @@ static const struct dmi_system_id fwbug_list[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "WUJIE14-GX4HRXL"),
                }
        },
+       /* https://bugzilla.kernel.org/show_bug.cgi?id=220116 */
+       {
+               .ident = "PCSpecialist Lafite Pro V 14M",
+               .driver_data = &quirk_spurious_8042,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "PCSpecialist"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Lafite Pro V 14M"),
+               }
+       },
        {}
 };