On Wed, Mar 18, 2015 at 12:46 PM, Prarit Bhargava <[email protected]> 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 <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]


Acked-by: John Stultz <[email protected]>

thanks
-john
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to