Re: (subset) [PATCH v2 1/2] rtc: Add rtc_read_next_alarm() to read next expiring timer
From: Mario Limonciello
Date: Wed Jun 24 2026 - 19:31:03 EST
On 6/24/26 14:15, Alexandre Belloni wrote:
On Wed, 20 May 2026 23:37:13 -0500, Mario Limonciello wrote:
Add a new function rtc_read_next_alarm() that reads the next expiring
alarm from the RTC timerqueue. This is different from rtc_read_alarm(),
which only reads the aie_timer.
The wakealarm sysfs file programs the rtc->aie_timer, whereas the
alarmtimer suspend routine programs its own timer into the RTC timerqueue.
Both timers end up in the RTC's timerqueue, and the first expiring timer
is what gets armed in the hardware.
[...]
Applied, thanks!
[1/2] rtc: Add rtc_read_next_alarm() to read next expiring timer
https://git.kernel.org/abelloni/c/947d7ea6f60b
Best regards,
Thanks!
Ilpo, Shyam,
How do you want to handle patch 2/2? Immutable branch and come through pdx86? Or would you rather it go through Alexandre's tree?
Thanks,