[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51780976.8020608@linaro.org>
Date: Wed, 24 Apr 2013 09:33:58 -0700
From: John Stultz <john.stultz@...aro.org>
To: Kay Sievers <kay@...y.org>
CC: LKML <linux-kernel@...r.kernel.org>
Subject: Re: CONFIG_RTC_HCTOSYS lost on x86 with ALWAYS_USE_PERSISTENT_CLOCK
changes?
On 04/23/2013 08:51 PM, Kay Sievers wrote:
> On Wed, Apr 24, 2013 at 5:33 AM, Kay Sievers <kay@...y.org> wrote:
>
>> Also:
>> $ cat /sys/class/rtc/rtc0/hctosys
>> 0
>> always carried "1", and this now breaks setups which expect an
>> automatically created symlink /dev/rtc to the actual "system rtc".
> We used to do this in upstream standard udev rules:
> SUBSYSTEM=="rtc", ATTR{hctosys}=="1", MODE="0644"
> http://cgit.freedesktop.org/systemd/systemd/tree/rules/50-udev-default.rules#n18
>
> If that information is expected to be gone now, we need to update some
> tools. Whats' the proper way now to find the "system rtc" to use?
No we'll revert. Can't break userland.
But as to your question, if there's only one rtc, I'd consider it the
"system rtc", only adjusting the link if a second RTC appears and has
the hctosys flag set.
thanks
-john
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists