It was reported that suspend-then-hibernate stopped working with modern
systemd versions on AMD Cezanne systems. The reason for this breakage
was because systemd switched to using alarmtimer instead of the wakealarm
sysfs file.
But really it uncovered deeper problems with how these timers work. Adjust
the code accordingly.
Mario Limonciello (2):
rtc: Add rtc_read_next_alarm() to read next expiring timer
platform/x86: amd-pmc: Fix S0i3 wakeup with alarmtimer
drivers/platform/x86/amd/pmc/pmc.c | 9 ++++---
drivers/rtc/interface.c | 40 ++++++++++++++++++++++++++++++
include/linux/rtc.h | 2 ++
3 files changed, 48 insertions(+), 3 deletions(-)
--
2.43.0