RTC wakealarm file is missing in v6.1-rc1

From: Todd Brandt
Date: Mon Oct 17 2022 - 22:19:35 EST


In the v6.1-rc1 kernel release from about 24 hours ago, the wakealarm
file for the real time clock appears to be missing. Specifically:

/sys/class/rtc/rtc0/wakealarm

Without this sysfs file, the rtcwake and sleepgraph tools no longer
function properly (and probably all tools that use the RTC through
sysfs). I've tested on 10 machines so far and this occurs on all of
them regardless of the specific hardware.

The issue is in this patch set for the rtc subsystem. If I remove this
commit and rebuild, the issue goes away. I'm in the process of
bisecting further.

commit b7270c69a36efc61ed6ebd31a8a458f354a6edc0
Merge: 4ce1b97949cb e5f12a398371
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date: Fri Oct 14 18:36:42 2022 -0700

I've opened a bugzilla issue here:
https://bugzilla.kernel.org/show_bug.cgi?id=216600