On Wed, Mar 18, 2015 at 12:46 PM, Prarit Bhargava <pra...@redhat.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 <pra...@redhat.com> > Cc: cor...@lwn.net > Cc: rtc-li...@googlegroups.com > Cc: linux-...@vger.kernel.org > Cc: a.zu...@towertech.it > Cc: pra...@redhat.com > Cc: john.stu...@linaro.org > Cc: shua...@osg.samsung.com
Acked-by: John Stultz <john.stu...@linaro.org> thanks -john -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/