diff options
author | Rafael J. Wysocki <[email protected]> | 2020-02-11 17:53:52 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2020-02-11 23:26:15 +0100 |
commit | fdde0ff8590b4c1c41b3227f5ac4265fccccb96b (patch) | |
tree | bb3ed3ce7000e5377cb8bc602c580bfa9ecfb4f3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ea128834dd76f9a72a35d011c651fa96658f06a7 (diff) |
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 <[email protected]>
Cc: 5.4+ <[email protected]> # 5.4+
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions