platform/x86/amd/pmc: Add Stellaris Slim Gen6 AMD to spurious 8042 quirks list
Subsystems (2)
PATCH 1/1 platform/x86/amd/pmc: Add Stellaris Slim Gen6 AMD to spurious 8042 quirks list
From: Christoffer Sandberg <[email protected]>
Prevents instant wakeup ~1s after suspend
--- drivers/platform/x86/amd/pmc/pmc-quirks.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/platform/x86/amd/pmc/pmc-quirks.c +7 -0
@@ -248,6 +248,13 @@ static const struct dmi_system_id fwbug_list[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Lafite Pro V 14M"), } }, + { + .ident = "TUXEDO Stellaris Slim 15 AMD Gen6", + .driver_data = &quirk_spurious_8042, + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "GMxHGxx"), + } + }, {} };
Signature · 1 line
2.43.0
Quoted 18 lines · Werner Sembach
From: Christoffer Sandberg <[email protected]>
Prevents instant wakeup ~1s after suspend
Signed-off-by Christoffer Sandberg <[email protected]>Signed-off-by Werner Sembach <[email protected]>--- drivers/platform/x86/amd/pmc/pmc-quirks.c | 7 +++++++ 1 file changed, 7 insertions(+)drivers/platform/x86/amd/pmc/pmc-quirks.c +0
-0@@ -248,6 +248,13 @@ static const struct dmi_system_id fwbug_list[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Lafite Pro V 14M"), } },
drivers/platform/x86/amd/pmc/pmc-quirks.c static const struct dmi_system_id fwbug_list[] = { · line 260
Quoted 10 lines
drivers/platform/x86/amd/pmc/pmc-quirks.c +7
-0+ { + .ident = "TUXEDO Stellaris Slim 15 AMD Gen6", + .driver_data = &quirk_spurious_8042, + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "GMxHGxx"), + } + }, {} };
FYI - this seems to conflict with other changes on review-ilpo-fixes and fixes branches.
Also - a few other comments.
1) Do you have line of sight to a firmware (BIOS or EC) fix? If so; it would be better to specify a specific firmware release that is affected.
2) Shouldn't you also have DMI_SYS_VENDOR or some other matching keys else set? Or is it really all these boards with this specific name?
Am 02.09.25 um 16:15 schrieb Mario Limonciello:
Quoted 31 lines · Werner Sembach
Quoted 17 lines
From: Christoffer Sandberg <[email protected]>
Prevents instant wakeup ~1s after suspend
Signed-off-by Christoffer Sandberg <[email protected]>Signed-off-by Werner Sembach <[email protected]>---
drivers/platform/x86/amd/pmc/pmc-quirks.c| 7 +++++++1 file changed, 7 insertions(+)drivers/platform/x86/amd/pmc/pmc-quirks.c +0
-0@@ -248,6 +248,13 @@ static const struct dmi_system_id fwbug_list[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Lafite Pro V 14M"), }drivers/platform/x86/amd/pmc/pmc-quirks.c static const struct dmi_system_id fwbug_list[] = { · line 259
Quoted 10 lines
drivers/platform/x86/amd/pmc/pmc-quirks.c +7
-0}, + { + .ident = "TUXEDO Stellaris Slim 15 AMD Gen6", + .driver_data = &quirk_spurious_8042, + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "GMxHGxx"), + } + }, {} };FYI - this seems to conflict with other changes on review-ilpo-fixes and fixes branches.
Sorry, i will rebase and send a v2.
Quoted 4 lines
Also - a few other comments.
1) Do you have line of sight to a firmware (BIOS or EC) fix? If so; it would be better to specify a specific firmware release that is affected.
No
@Christoffer you have more knowledge of how realistic it is to get this fixed by the odm?
But even then, we still don't have fwupd support to get the fw update out easily
Quoted 2 lines
2) Shouldn't you also have
DMI_SYS_VENDORor some other matching keys else set? Or is it really all these boards with this specific name?
I was following the style of the i8042 quirk list where we also always only did boardnames
Ofc we only tested the boards the odm has sent to us
best regards,
Werner Sembach
Quoted 36 lines · Werner Sembach
Am 02.09.25 um 16:15 schrieb Mario Limonciello:
Quoted 31 lines · Werner Sembach
Quoted 17 lines
From: Christoffer Sandberg <[email protected]>
Prevents instant wakeup ~1s after suspend
Signed-off-by Christoffer Sandberg <[email protected]>Signed-off-by Werner Sembach <[email protected]>---
drivers/platform/x86/amd/pmc/pmc-quirks.c| 7 +++++++1 file changed, 7 insertions(+)drivers/platform/x86/amd/pmc/pmc-quirks.c +0
-0@@ -248,6 +248,13 @@ static const struct dmi_system_id fwbug_list[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Lafite Pro V 14M"), }drivers/platform/x86/amd/pmc/pmc-quirks.c static const struct dmi_system_id fwbug_list[] = { · line 259
Quoted 10 lines
drivers/platform/x86/amd/pmc/pmc-quirks.c +7
-0}, + { + .ident = "TUXEDO Stellaris Slim 15 AMD Gen6", + .driver_data = &quirk_spurious_8042, + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "GMxHGxx"), + } + }, {} };FYI - this seems to conflict with other changes on review-ilpo-fixes and fixes branches.
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-
drivers-x86.git/commit/drivers/platform/x86/amd/pmc/pmc-quirks.c? h=review-ilpo-fixes&id=c96f86217bb28e019403bb8f59eacd8ad5a7ad1aSorry, i will rebase and send a v2.
Quoted 1 line
Quoted 8 lines
Quoted 3 lines
Also - a few other comments.
1) Do you have line of sight to a firmware (BIOS or EC) fix? If so; it would be better to specify a specific firmware release that is affected.
No
@Christoffer you have more knowledge of how realistic it is to get this fixed by the odm?
OK, even if you don't get a solution in the firmware in this generation it's good to understand this issue and root cause it so that you can have it fixed properly next generation.
It's not always realistic but ideally bringing a new product to market shouldn't require a quirk.
Quoted 3 lines
But even then, we still don't have fwupd support to get the fw update out easily
😢
Quoted 11 lines
Quoted 2 lines
2) Shouldn't you also have
DMI_SYS_VENDORor some other matching keys else set? Or is it really all these boards with this specific name?I was following the style of the i8042 quirk list where we also always only did boardnames
Ofc we only tested the boards the odm has sent to us
best regards,
Werner Sembach
But this isn't a hardware problem with the board itself, it's a firmware problem. The board ID you're using is just a convenient proxy for it.
I've seen the debugging for a few issues like this and it can be all across the board. A few examples:
* polarity issues
* debounce issues
* incorrectly set PCD (Kinda like a Kconfig for BIOS)
Quoted 47 lines · Mario Limonciello
Quoted 37 lines · Werner Sembach
Am 02.09.25 um 16:15 schrieb Mario Limonciello:
Quoted 32 lines · Werner Sembach
Quoted 18 lines
From: Christoffer Sandberg <[email protected]>
Prevents instant wakeup ~1s after suspend
Signed-off-by Christoffer Sandberg <[email protected]>Signed-off-by Werner Sembach <[email protected]>---
drivers/platform/x86/amd/pmc/pmc-quirks.c| 7 +++++++1 file changed, 7 insertions(+)drivers/platform/x86/amd/pmc/pmc-quirks.c +0
-0@@ -248,6 +248,13 @@ static const struct dmi_system_id fwbug_list[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Lafite Pro V 14M"), }drivers/platform/x86/amd/pmc/pmc-quirks.c static const struct dmi_system_id fwbug_list[] · line 260
Quoted 10 lines
drivers/platform/x86/amd/pmc/pmc-quirks.c +7
-0}, + { + .ident = "TUXEDO Stellaris Slim 15 AMD Gen6", + .driver_data = &quirk_spurious_8042, + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "GMxHGxx"), + } + }, {} };FYI - this seems to conflict with other changes on review-ilpo-fixes and fixes branches.
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-
drivers-x86.git/commit/drivers/platform/x86/amd/pmc/pmc-quirks.c? h=review-ilpo-fixes&id=c96f86217bb28e019403bb8f59eacd8ad5a7ad1aSorry, i will rebase and send a v2.
Quoted 1 line
Quoted 8 lines
Quoted 3 lines
Also - a few other comments.
1) Do you have line of sight to a firmware (BIOS or EC) fix? If so; it would be better to specify a specific firmware release that is affected.
No
@Christoffer you have more knowledge of how realistic it is to get this fixed by the odm?
Quoted 7 lines
OK, even if you don't get a solution in the firmware in this generation it's good to understand this issue and root cause it so that you can have it fixed properly next generation.
It's not always realistic but ideally bringing a new product to market shouldn't require a quirk.
Agreed, would of course rather fix it in firmware when it's a firmware problem. Sometimes, like the case for the previous patch (for InfinityBook Pro Gen10) it was unfortunately not possible to locate and solve in time. Was even briefly thought to be fixed before launch because issue disappeared (in that configuration).
Another curiosity, this second quirk entry (for the Stellaris Slim Gen6) is actually for previous generation. The issue didn't surface until a major kernel jump. Initially thought to be a regression, however, bisecting ended up in kernels where the issue happened seeming randomly every ~2-3 suspend/resume cycle. Therefore currently thought to be a system configuration dependent race condition whether issue triggers or not.
Quoted 13 lines
Quoted 3 lines
But even then, we still don't have fwupd support to get the fw update out easily
😢
Quoted 7 lines
Quoted 2 lines
2) Shouldn't you also have
DMI_SYS_VENDORor some other matching keys else set? Or is it really all these boards with this specific name?I was following the style of the i8042 quirk list where we also always only did boardnames
Ofc we only tested the boards the odm has sent to us
Quoted 9 lines
Quoted 4 lines
best regards,
Werner Sembach
But this isn't a hardware problem with the board itself, it's a firmware problem. The board ID you're using is just a convenient proxy for it.
Firmware is what we're suspecting as well.
Small update, according to latest info, a write from Linux, on port 60, supposedly triggers the interrupt. However, so far I have only seen a keyboard reset that is done before suspend and that does not seem to be it.
Quoted 6 lines
I've seen the debugging for a few issues like this and it can be all across the board. A few examples:
* polarity issues
* debounce issues
* incorrectly set PCD (Kinda like aKconfigfor BIOS)
Thanks for the ideas, any further insights are of course very welcome.