* [PATCH v2] platform/x86/amd/pmc: Add MECHREVO Yilong15Pro to spurious_8042 list
@ 2025-09-07 9:06 aprilgrimoire
2025-09-08 18:34 ` Mario Limonciello (kernel.org)
2025-09-10 11:35 ` Ilpo Järvinen
0 siblings, 2 replies; 3+ messages in thread
From: aprilgrimoire @ 2025-09-07 9:06 UTC (permalink / raw)
To: platform-driver-x86@vger.kernel.org; +Cc: superm1@kernel.org
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>
---
v2:
- Fix subject prefix and wording.
- Rebase onto platform-drivers-x86 fixes branch.
drivers/platform/x86/amd/pmc/pmc-quirks.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/platform/x86/amd/pmc/pmc-quirks.c b/drivers/platform/x86/amd/pmc/pmc-quirks.c
index 18fb44139d..4d0a38e06f 100644
--- a/drivers/platform/x86/amd/pmc/pmc-quirks.c
+++ b/drivers/platform/x86/amd/pmc/pmc-quirks.c
@@ -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",
--
2.49.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] platform/x86/amd/pmc: Add MECHREVO Yilong15Pro to spurious_8042 list
2025-09-07 9:06 [PATCH v2] platform/x86/amd/pmc: Add MECHREVO Yilong15Pro to spurious_8042 list aprilgrimoire
@ 2025-09-08 18:34 ` Mario Limonciello (kernel.org)
2025-09-10 11:35 ` Ilpo Järvinen
1 sibling, 0 replies; 3+ messages in thread
From: Mario Limonciello (kernel.org) @ 2025-09-08 18:34 UTC (permalink / raw)
To: aprilgrimoire, platform-driver-x86@vger.kernel.org
On 9/7/2025 4:06 AM, aprilgrimoire wrote:
> 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>
> ---
> v2:
> - Fix subject prefix and wording.
> - Rebase onto platform-drivers-x86 fixes branch.
>
> drivers/platform/x86/amd/pmc/pmc-quirks.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/platform/x86/amd/pmc/pmc-quirks.c b/drivers/platform/x86/amd/pmc/pmc-quirks.c
> index 18fb44139d..4d0a38e06f 100644
> --- a/drivers/platform/x86/amd/pmc/pmc-quirks.c
> +++ b/drivers/platform/x86/amd/pmc/pmc-quirks.c
> @@ -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",
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] platform/x86/amd/pmc: Add MECHREVO Yilong15Pro to spurious_8042 list
2025-09-07 9:06 [PATCH v2] platform/x86/amd/pmc: Add MECHREVO Yilong15Pro to spurious_8042 list aprilgrimoire
2025-09-08 18:34 ` Mario Limonciello (kernel.org)
@ 2025-09-10 11:35 ` Ilpo Järvinen
1 sibling, 0 replies; 3+ messages in thread
From: Ilpo Järvinen @ 2025-09-10 11:35 UTC (permalink / raw)
To: platform-driver-x86, aprilgrimoire; +Cc: superm1
On Sun, 07 Sep 2025 09:06:11 +0000, aprilgrimoire wrote:
> 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/
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86/amd/pmc: Add MECHREVO Yilong15Pro to spurious_8042 list
commit: 8822e8be86d40410ddd2ac8ff44f3050c9ecf9c6
--
i.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-10 11:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-07 9:06 [PATCH v2] platform/x86/amd/pmc: Add MECHREVO Yilong15Pro to spurious_8042 list aprilgrimoire
2025-09-08 18:34 ` Mario Limonciello (kernel.org)
2025-09-10 11:35 ` Ilpo Järvinen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.