]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
platform/x86/amd/pmc: Add MECHREVO Yilong15Pro to spurious_8042 list
authoraprilgrimoire <aprilgrimoire@proton.me>
Sun, 7 Sep 2025 09:06:11 +0000 (09:06 +0000)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 10 Sep 2025 11:17:56 +0000 (14:17 +0300)
The firmware of Mechrevo Yilong15Pro emits a spurious keyboard interrupt on
events including closing the lid. When a user closes the lid on an already
suspended system this causes the system to wake up.
Add Mechrevo Yilong15Pro Series (GM5HG7A) to the list of quirk
spurious_8042 to work around this issue.

Link: https://lore.kernel.org/linux-pm/6ww4uu6Gl4F5n6VY5dl1ufASfKzs4DhMxAN8BuqUpCoqU3PQukVSVSBCl_lKIzkQ-S8kt1acPd58eyolhkWN32lMLFj4ViI0Tdu2jwhnYZ8=@proton.me/
Signed-off-by: April Grimoire <aprilgrimoire@proton.me>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Link: https://patch.msgid.link/IvSc_IN5Pa0wRXElTk_fEl-cTpMZxg6TCQk_7aRUkTd9vJUp_ZeC0NdXZ0z6Tn7B-XiqqqQvCH65lq6FqhuECBMEYWcHQmWm1Jo7Br8kpeg=@proton.me
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 18fb44139de2518125d63e5cfdc265cfec0eab00..4d0a38e06f0830de328dbbb9e3f016cd3e808455 100644 (file)
@@ -239,6 +239,14 @@ static const struct dmi_system_id fwbug_list[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "WUJIE14-GX4HRXL"),
                }
        },
+       {
+               .ident = "MECHREVO Yilong15Pro Series GM5HG7A",
+               .driver_data = &quirk_spurious_8042,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "MECHREVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Yilong15Pro Series GM5HG7A"),
+               }
+       },
        /* https://bugzilla.kernel.org/show_bug.cgi?id=220116 */
        {
                .ident = "PCSpecialist Lafite Pro V 14M",