All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: rtc-linux@googlegroups.com
Cc: Nishanth Menon <nm@ti.com>,
	Konstantin Shlyakhovoy <x0155534@ti.com>,
	Alessandro Zummo <a.zummo@towertech.it>,
	Benoit Cousson <b-cousson@ti.com>,
	linux-omap <linux-omap@vger.kernel.org>
Subject: Re: [rtc-linux] [PATCH] RTC: twl6030: correct usage of static register while reading time
Date: Fri, 6 Apr 2012 12:19:34 -0700	[thread overview]
Message-ID: <20120406121934.0d6d3ffc.akpm@linux-foundation.org> (raw)
In-Reply-To: <1332970441-3495-1-git-send-email-nm@ti.com>

On Wed, 28 Mar 2012 16:34:01 -0500
Nishanth Menon <nm@ti.com> wrote:

> From: Konstantin Shlyakhovoy <x0155534@ti.com>
> 
> 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 <a.zummo@towertech.it>
> Cc: Benoit Cousson <b-cousson@ti.com>
> Cc: linux-omap <linux-omap@vger.kernel.org>
> Acked-by: Mykola Oleksiienko <x0174904@ti.com>
> Acked-by: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@ti.com>
> Acked-by: Graeme Gregory <gg@slimlogic.co.uk>
> Acked-by: Nishanth Menon <nm@ti.com>
> Signed-off-by: Konstantin Shlyakhovoy <x0155534@ti.com>

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?


  reply	other threads:[~2012-04-06 19:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-28 21:34 [PATCH] RTC: twl6030: correct usage of static register while reading time Nishanth Menon
2012-04-06 19:19 ` Andrew Morton [this message]
2012-04-07 15:59   ` [rtc-linux] " Menon, Nishanth

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=20120406121934.0d6d3ffc.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=a.zummo@towertech.it \
    --cc=b-cousson@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=rtc-linux@googlegroups.com \
    --cc=x0155534@ti.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.