[GIT PULL] ACPI fixes for v6.15-rc2

From: Rafael J. Wysocki
Date: Fri Apr 11 2025 - 10:32:06 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
acpi-6.15-rc2

with top-most commit dcc4aca53338d09f7b3272e00aab4a1ff8c69067

Merge branches 'acpi-ec' and 'acpi-button'

on top of commit 0af2f6be1b4281385b618cb86ad946eded089ac8

Linux 6.15-rc1

to receive ACPI fixes for 6.15-rc2.

These fix a recent regression in the ACPI button driver, add quirks
related to EC wakeups from suspend-to-idle and fix coding mistakes
related to the usage of sizeof() in the PPTT parser code:

- Add suspend-to-idle EC wakeup quirks for Lenovo Go S (Mario
Limonciello).

- Prevent ACPI button from sending spurions KEY_POWER events to user
space in some cases after a recent update (Mario Limonciello).

- Compute the size of a structure instead of the size of a pointer
in two places in the PPTT parser code (Jean-Marc Eurin).

Thanks!


---------------

Jean-Marc Eurin (1):
ACPI PPTT: Fix coding mistakes in a couple of sizeof() calls

Mario Limonciello (2):
ACPI: button: Only send `KEY_POWER` for `ACPI_BUTTON_NOTIFY_STATUS`
ACPI: EC: Set ec_no_wakeup for Lenovo Go S

---------------

drivers/acpi/button.c | 2 +-
drivers/acpi/ec.c | 28 ++++++++++++++++++++++++++++
drivers/acpi/pptt.c | 4 ++--
3 files changed, 31 insertions(+), 3 deletions(-)