Re: [PATCH v8] ACPI: button: Report wakeup key only for power button wakeups
From: Baorui . Liu
Date: Mon Nov 23 2026 - 04:03:03 EST
On Fri, Nov 20, 2026 at 2:56 PM Rafael J. Wysocki (Intel) wrote:
> Please let me know what you think about it.
> Also, if you decide to send a new version, please do so in a new thread.
I agree with the three comments Sashiko kept, and v9 is sent as a new
thread:
https://lore.kernel.org/linux-acpi/20261123085607.476-1-baorliu@xxxxxxx/
1. The fixed-button flag is consumed before it is combined with
wakeup_pending, and only by ACPI_BUS_TYPE_POWER_BUTTON, so a
short-circuit cannot leave it set.
2. suspended and wakeup_pending now use SMP barriers, and resume checks
wakeup_pending again after clearing suspended.
3. The commit message has
Fixes: 16f70feaabe9 ("ACPI: button: trigger wakeup key events")
and the version changelog is below '---'.
I am not changing the three dismissed items: the Signed-off-by name,
the CONFIG_ACPI_SLEEP guard already in v8, and
acpi_os_wait_events_complete() in button resume.
Thanks,
Baorui