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