Rafael J. Wysocki fdde0ff859 ACPI: PM: s2idle: Prevent spurious SCIs from waking up the system
If the platform triggers a spurious SCI even though the status bit
is not set for any GPE when the system is suspended to idle, it will
be treated as a genuine wakeup, so avoid that by checking if any GPEs
are active at all before returning 'true' from acpi_s2idle_wake().

Link: https://bugzilla.kernel.org/show_bug.cgi?id=206413
Fixes: 56b991849009 ("PM: sleep: Simplify suspend-to-idle control flow")
Reported-by: Tsuchiya Yuto <kitakar@gmail.com>
Cc: 5.4+ <stable@vger.kernel.org> # 5.4+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2020-02-11 23:26:15 +01:00
..
2020-01-13 11:49:55 +01:00
2020-02-05 17:49:54 +00:00
2019-06-23 09:23:33 +02: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