Linux RTC
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fix S0i3 wakeup with alarmtimer
@ 2026-05-21  4:37 Mario Limonciello
  2026-05-21  4:37 ` [PATCH v2 1/2] rtc: Add rtc_read_next_alarm() to read next expiring timer Mario Limonciello
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Mario Limonciello @ 2026-05-21  4:37 UTC (permalink / raw)
  To: Shyam Sundar S K, Alexandre Belloni
  Cc: Hans de Goede, Ilpo Järvinen, platform-driver-x86,
	linux-kernel, linux-rtc, Thomas Gleixner, Mario Limonciello

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-06-25 12:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-21  4:37 [PATCH v2 0/2] Fix S0i3 wakeup with alarmtimer Mario Limonciello
2026-05-21  4:37 ` [PATCH v2 1/2] rtc: Add rtc_read_next_alarm() to read next expiring timer Mario Limonciello
2026-06-24 21:15   ` (subset) " Alexandre Belloni
2026-06-24 23:30     ` Mario Limonciello
2026-06-25 10:08       ` Ilpo Järvinen
2026-05-21  4:37 ` [PATCH v2 2/2] platform/x86: amd-pmc: Fix S0i3 wakeup with alarmtimer Mario Limonciello
2026-06-25 10:06   ` Ilpo Järvinen
2026-06-25 12:43 ` (subset) [PATCH v2 0/2] " Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox