On Mon, Jul 01, 2024 at 07:50:09AM +0000, SCHNEIDER Johannes wrote: > no there wasn't a kernel side discussion; > On a system where chrony is running it holds the rtc device/file-handle, e.g. > has exclusive access and manages the RTC -> there are no other applications > reading/handling the RTC. > So this patch adds the missing "userspace handling" for this uninitialized > RTC corner case.
There are other applications supporting RTCs, which other users might be using, and they would eventually need to handle this corner case too, right? To me it seems it's better to handle this in the place that already has HW-specific code, the driver. If the RTC maintainers reject that for some reason, then maybe a simple script running on boot using hwclock. -- Miroslav Lichvar -- To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe" in the subject. For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the subject. Trouble? Email listmas...@chrony.tuxfamily.org.