mbox series

[0/2] ACPI: PM: s2idle: Harden the premature EC wakeups handling

Message ID 9291082.ZuhHelrm8h@kreacher (mailing list archive)
Headers show
Series ACPI: PM: s2idle: Harden the premature EC wakeups handling | expand

Message

Rafael J. Wysocki March 25, 2020, 10:52 a.m. UTC
Hi All,

It turns out that the checks added by commit fdde0ff8590b ("ACPI: PM: s2idle:
Prevent spurious SCIs from waking up the system") were not precise enough and
there are cases in which it actually doesn't prevent the system from resuming
due to a spurious wakeup event coming from the EC.

To fix that issue, allow acpi_any_gpe_status_set() to skip one GPE from the
check carried out by it (patch [1/2]) and use that for skipping the EC GPE
from that check in the suspend-to-idle loop, which then allows the wakeup
events coming from the EC to be checked more precisely (patch [2/2]).

Thanks!