Files
erofs-linux/drivers/acpi
Rafael J. Wysocki 63fb962342 ACPI: PM: s2idle: Check fixed wakeup events in acpi_s2idle_wake()
Commit fdde0ff859 ("ACPI: PM: s2idle: Prevent spurious SCIs from
waking up the system") overlooked the fact that fixed events can wake
up the system too and broke RTC wakeup from suspend-to-idle as a
result.

Fix this issue by checking the fixed events in acpi_s2idle_wake() in
addition to checking wakeup GPEs and break out of the suspend-to-idle
loop if the status bits of any enabled fixed events are set then.

Fixes: fdde0ff859 ("ACPI: PM: s2idle: Prevent spurious SCIs from waking up the system")
Reported-and-tested-by: Chris Wilson <[email protected]>
Cc: 5.4+ <[email protected]> # 5.4+
Signed-off-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2020-02-21 10:01:25 -08:00
..
2020-01-13 11:49:55 +01:00
…
…
2019-12-16 11:19:58 +01:00
…
…
…
…
…
2020-02-11 10:07:43 +01:00
…
…
…
…
…
…
2019-11-26 10:31:02 +01:00
…
2019-11-13 11:12:08 +01:00
2019-11-29 10:31:12 +01:00
…
…
…
…
…
…
…
…
…