Re: (subset) [PATCH v2 1/2] rtc: Add rtc_read_next_alarm() to read next expiring timer
From: Ilpo Järvinen
Date: Thu Jun 25 2026 - 06:08:56 EST
On Wed, 24 Jun 2026, Mario Limonciello wrote:
> 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?
It would be easier if it too goes through Alexandre's tree and I don't
expect conflicts on that area. I've replied with my Ack to 2/2.
--
i.