[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALAqxLUmQAXC1Ebr2q7gkncUzG1jVXf=0qDryqsVGCOa7EdWhQ@mail.gmail.com>
Date: Wed, 18 Mar 2015 13:08:29 -0700
From: John Stultz <john.stultz@...aro.org>
To: Prarit Bhargava <prarit@...hat.com>
Cc: lkml <linux-kernel@...r.kernel.org>, Jon Corbet <corbet@....net>,
"rtc-linux@...glegroups.com" <rtc-linux@...glegroups.com>,
linux-doc@...r.kernel.org, Alessandro Zummo <a.zummo@...ertech.it>,
Shuah Khan <shuahkh@....samsung.com>
Subject: Re: [PATCH 2/2 v2] tools, update rtctest.c to verify passage of time
On Wed, Mar 18, 2015 at 12:46 PM, Prarit Bhargava <prarit@...hat.com> wrote:
> rtctest.c checks to see if PIE is functioning by testing if 20 interrupts occur
> at rates from 2HZ to 64HZ. While this check is good, it does not check to
> see if the correct amount of time has actually passed. This misses
> situations where the RTC may be operating at a higher or lower frequency
> than expected.
>
> This patch introduces a simple check to verify if the time passed is
> less than 10% of what was programmed into the RTC.
>
> Signed-off-by: Prarit Bhargava <prarit@...hat.com>
> Cc: corbet@....net
> Cc: rtc-linux@...glegroups.com
> Cc: linux-doc@...r.kernel.org
> Cc: a.zummo@...ertech.it
> Cc: prarit@...hat.com
> Cc: john.stultz@...aro.org
> Cc: shuahkh@....samsung.com
Acked-by: John Stultz <john.stultz@...aro.org>
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