Re: [PATCH 2/2 v2] tools, update rtctest.c to verify passage of time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 18, 2015 at 12:46 PM, Prarit Bhargava <prarit@xxxxxxxxxx> 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@xxxxxxxxxx>
> Cc: corbet@xxxxxxx
> Cc: rtc-linux@xxxxxxxxxxxxxxxx
> Cc: linux-doc@xxxxxxxxxxxxxxx
> Cc: a.zummo@xxxxxxxxxxxx
> Cc: prarit@xxxxxxxxxx
> Cc: john.stultz@xxxxxxxxxx
> Cc: shuahkh@xxxxxxxxxxxxxxx


Acked-by: John Stultz <john.stultz@xxxxxxxxxx>

thanks
-john
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux