ACPICA: Introduce acpi_any_gpe_status_set()

commit ea128834dd upstream.

Introduce a new helper function, acpi_any_gpe_status_set(), for
checking the status bits of all enabled GPEs in one go.

It is needed to distinguish spurious SCIs from genuine ones when
deciding whether or not to wake up the system from suspend-to-idle.

Cc: 5.4+ <stable@vger.kernel.org> # 5.4+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Rafael J. Wysocki 2020-02-11 17:52:32 +01:00 • committed by Greg Kroah-Hartman
commit 8a3a484d0d
4 changed files with 106 additions and 0 deletions