]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 14:05:06 +0000 (16:05 +0200)
[ Upstream commit 9ba75ccad85708c5a484637dccc1fc59295b0a83 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/amd/pmc/pmc-quirks.c

index 2e3f6fc67c568d44030391f9bc5b4fd146d52b0d..7ed12c1d3b34c0d74148e5686a7a39bf57a6540c 100644 (file)
@@ -224,6 +224,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"),
+               }
+       },
        {}
 };