summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatthew Schwartz <matthew.schwartz@linux.dev>2026-09-29 20:16:55 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-10-13 12:05:56 +0300
commitdea72765985fc49519dcfcfe6a81e291e7242da1 (patch)
treeede19fd84a89864a5fe65ba1333358515cd4a884 /tools/perf/scripts/python
parent38998529f45c02edcf96b0a3ddd3c83de6d11bbe (diff)
platform/x86/amd/pmc: Add spurious_8042 to ASUS ROG Flow Z13 GZ302EA
The ASUS ROG Flow Z13 (GZ302EA/GZ302EAC) wakes up from suspend-to-idle without any user input. With PM debug messages enabled, each unexpected wakeup shows the EC raising IRQ1 at the same time as the ACPI SCI: PM: Triggering wakeup from IRQ 9 PM: Triggering wakeup from IRQ 1 ACPI: EC: Query(0xa3) started ACPI: PM: Wakeup after ACPI Notify sync EC query 0xa3 only notifies the battery of a status change, which happens when it transitions between Charging and Full while on AC. The ACPI core correctly treats that as a non-wakeup event and cancels the SCI wakeup, but the IRQ1 wakeup remains pending and resumes the system. i8042 debugging confirms that the keyboard controller has no data at that point ("Interrupt 1, without any data"). The detachable keyboard on this device is a USB device, so disabling the i8042 wakeup source does not result in any functional loss. With serio0 wakeup disabled, the same battery event is processed during suspend-to-idle and the system stays asleep. Add the spurious_8042 quirk for it. The GZ302EAC reports sys_vendor "ASUS" while the GZ302EA reports "ASUSTeK COMPUTER INC.", so match on "ASUS" and on the "GZ302EA" board name to cover both models. Signed-off-by: Matthew Schwartz <matthew.schwartz@linux.dev> Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Link: https://patch.msgid.link/20260929181655.26105-1-matthew.schwartz@linux.dev Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions