[RFC PATCH 1/3] efi-rtc: Remove wakeup functionality

Demi Marie Obenour demiobenour at gmail.com
Sun Jul 13 23:22:43 PDT 2025


On 7/14/25 02:19, Ard Biesheuvel wrote:
> On Mon, 14 Jul 2025 at 16:13, Demi Marie Obenour <demiobenour at gmail.com> wrote:
>>
>> On 7/14/25 02:08, Ard Biesheuvel wrote:
>>> From: Ard Biesheuvel <ardb at kernel.org>
>>>
>>> The EFI rtc driver is used by non-x86 architectures only, and exposes
>>> the get/set wakeup time functionality provided by the underlying
>>> platform. This is usually broken on most platforms, and not widely used
>>> to begin with [if at all], so let's just remove it.
>> systemd uses the underlying functionality: a timer can wake the system up.
>> I have no idea if that is implemented in terms of this function, though.
> 
> To be clear, you are referring to wake from poweroff at some date/time
> in the future, right?

Yes.

> This change does not remove this functionality from the RTC subsystem,
> it just ceases to expose it on non-x86 EFI platforms that claim to
> support it.

Do these platforms generally expose the functionality in a different way?
If not, systemd should probably document that the functionality is
non-portable if it doesn't do that already.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xB288B55FFF9C22C1.asc
Type: application/pgp-keys
Size: 7140 bytes
Desc: OpenPGP public key
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20250714/8ce1b84c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20250714/8ce1b84c/attachment.sig>


More information about the linux-riscv mailing list