[PATCH 0/1][SRU][J/I/OEM-5.14] Fix wakeup interrupts handling

You-Sheng Yang vicamo.yang at canonical.com
Thu Feb 24 07:02:35 UTC 2022


BugLink: https://bugs.launchpad.net/bugs/1961739

[Impact]

On some platforms, PS/2 keyboard cannot wake system up from s2idle.

[Fix]

Mainline commit cb1f65c1e142 ("PM: s2idle: ACPI: Fix wakeup interrupts
handling") picks up the missed wakeup interrupt.

[Test Case]

Use button press on PS/2 keyboard to wake suspended system.

[Where problems could occur]

It may still discard irqs under some very rare corner cases that are not
yet identified, but the implementation can be extended easily when
necessary.

[Other Info]

This affects 5.4+ kernels and has been proposed for linux-stable. While
this is merged in v5.17-rc4, linux-unstable will have this soon so
nomination is skipped.

Rafael J. Wysocki (1):
  PM: s2idle: ACPI: Fix wakeup interrupts handling

 drivers/acpi/sleep.c        |  1 +
 drivers/base/power/wakeup.c | 41 ++++++++++++++++++++++++++++++-------
 include/linux/suspend.h     |  4 ++--
 kernel/power/main.c         |  5 ++++-
 kernel/power/process.c      |  2 +-
 kernel/power/suspend.c      |  2 --
 6 files changed, 42 insertions(+), 13 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list