Re: [PATCH v2 0/3] rtc: ds1685: power-off fixes

From: Alexandre Belloni

Date: Thu Oct 29 2026 - 10:09:52 EST


On Tue, 13 Oct 2026 14:02:05 +0200, Imre Kaloz wrote:
> Three fixes for ds1685_rtc_poweroff(), on SGI O2 and Octane machines.
>
> Patch 1 arms the wake-up alarm only if an alarm is set, so that stale
> alarm registers no longer power the machine back on.
>
> Patch 2 replaces the sleep before the PAB write with a busy wait, as
> power-off handlers must not sleep.
>
> [...]

Applied, thanks!

[1/3] rtc: ds1685: arm the wake-up alarm at power-off only if an alarm is set
https://git.kernel.org/abelloni/c/d01026cc6e8f
[2/3] rtc: ds1685: do not sleep in the power-off handler
https://git.kernel.org/abelloni/c/fce04362eeb6
[3/3] rtc: ds1685: keep setting PAB until power is removed
https://git.kernel.org/abelloni/c/27ff8c706ba4

Best regards,

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com