From: Alessandro Zummo <alessandro.zummo@towertech.it>
To: rtc-linux@googlegroups.com
Cc: mjg@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: [rtc-linux] [PATCH 2/2] rtc: Add boot_timesource sysfs attribute
Date: Fri, 4 Sep 2009 18:25:28 +0200 [thread overview]
Message-ID: <20090904182528.591dbd29@i1501.lan.towertech.it> (raw)
In-Reply-To: <1252081568-6000-2-git-send-email-mjg@redhat.com>
On Fri, 4 Sep 2009 12:26:08 -0400
Matthew Garrett <mjg@redhat.com> wrote:
> CONFIG_RTC_HCTOSYS allows the kernel to read the system time from the RTC
> at boot and resume, avoiding the need for userspace to do so. Unfortunately
> userspace currently has no way to know whether this configuration option
> is enabled and thus cannot sensibly choose whether to run hwclock itself or
> not. Add a boot_timesource sysfs attribute which indicates whether a given
> RTC set the system clock.
This feature is meant to be in addition of the regular
hwclock call to read the system time.
Have you tested if there are drawbacks by not reading it? Like
TZ, DST and similar?
--
Best regards,
Alessandro Zummo,
Tower Technologies - Torino, Italy
http://www.towertech.it
next prev parent reply other threads:[~2009-09-04 16:25 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-04 16:26 [PATCH 1/2] rtc: Document the sysfs interface Matthew Garrett
2009-09-04 16:26 ` [PATCH 2/2] rtc: Add boot_timesource sysfs attribute Matthew Garrett
2009-09-04 16:25 ` Alessandro Zummo [this message]
2009-09-04 16:30 ` [rtc-linux] " Matthew Garrett
2009-09-04 16:38 ` [rtc-linux] " Alessandro Zummo
2009-09-04 16:41 ` Matthew Garrett
2009-09-04 16:52 ` Alessandro Zummo
2009-09-04 16:55 ` Matthew Garrett
2009-09-04 17:03 ` Alessandro Zummo
2009-09-04 17:09 ` Matthew Garrett
2009-09-05 21:11 ` Alessandro Zummo
2009-09-06 1:34 ` Mark Brown
2009-09-14 22:59 ` Karel Zak
2009-09-04 16:26 ` [rtc-linux] [PATCH 1/2] rtc: Document the sysfs interface Alessandro Zummo
2009-09-04 16:35 ` Mark Brown
2009-09-04 16:39 ` Matthew Garrett
2009-09-04 16:52 ` [rtc-linux] " Mark Brown
2009-09-04 23:23 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090904182528.591dbd29@i1501.lan.towertech.it \
--to=alessandro.zummo@towertech.it \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg@redhat.com \
--cc=rtc-linux@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox