From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [rtc-linux] [PATCH] RTC: twl6030: correct usage of static register while reading time Date: Fri, 6 Apr 2012 12:19:34 -0700 Message-ID: <20120406121934.0d6d3ffc.akpm@linux-foundation.org> References: <1332970441-3495-1-git-send-email-nm@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:36743 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752582Ab2DFTTg (ORCPT ); Fri, 6 Apr 2012 15:19:36 -0400 In-Reply-To: <1332970441-3495-1-git-send-email-nm@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: rtc-linux@googlegroups.com Cc: Nishanth Menon , Konstantin Shlyakhovoy , Alessandro Zummo , Benoit Cousson , linux-omap On Wed, 28 Mar 2012 16:34:01 -0500 Nishanth Menon wrote: > From: Konstantin Shlyakhovoy > > RTC stores time and date in several registers. Due to the fact that > these registers can't be read instantaneously, there is a chance > that reading from counting registers gives an error of one minute, > one hour, one day, etc. > > To address this issue, the RTC has hardware support to copy the > RTC counting registers to static shadowed registers. > The current implementation does not use this feature, and in a > stress test, we can reproduce this error at a rate of around > two times per 300000 readings. > > Fix the implementation to ensure that the right snapshot of time > is captured. hey, nice changelog! Please cc me on rtc patches - I tend to be a bit slow reading the rtc-linux list. > Cc: Alessandro Zummo > Cc: Benoit Cousson > Cc: linux-omap > Acked-by: Mykola Oleksiienko > Acked-by: Oleksandr Dmytryshyn > Acked-by: Graeme Gregory > Acked-by: Nishanth Menon > Signed-off-by: Konstantin Shlyakhovoy I rewrote your acked-by to Signed-off-by, because you were on the delivery path of the patch. Documentation/SubmittingPatches has details. Is this OK?