Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933744AbZIDQZc (ORCPT ); Fri, 4 Sep 2009 12:25:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933686AbZIDQZa (ORCPT ); Fri, 4 Sep 2009 12:25:30 -0400 Received: from mx0.towertech.it ([213.215.222.73]:45381 "HELO mx0.towertech.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S933695AbZIDQZ3 (ORCPT ); Fri, 4 Sep 2009 12:25:29 -0400 Date: Fri, 4 Sep 2009 18:25:28 +0200 From: Alessandro Zummo 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 Message-ID: <20090904182528.591dbd29@i1501.lan.towertech.it> In-Reply-To: <1252081568-6000-2-git-send-email-mjg@redhat.com> References: <1252081568-6000-1-git-send-email-mjg@redhat.com> <1252081568-6000-2-git-send-email-mjg@redhat.com> Organization: Tower Technologies X-Mailer: Sylpheed X-This-Is-A-Real-Message: Yes Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1022 Lines: 30 On Fri, 4 Sep 2009 12:26:08 -0400 Matthew Garrett 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/