]> git.baikalelectronics.ru Git - kernel.git/commit
kselftests: timers: freq-step: Update maximum acceptable precision and errors
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 18 Jun 2019 16:06:12 +0000 (18:06 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 22 Jun 2019 09:28:53 +0000 (11:28 +0200)
commit58336748cfc2ea296bfe59fbb8999fda6abc5989
treecfb0f24fd73efb83eac8e1d6fb493e0425277065
parent550253df510c3fa7f874d5c89c7e76f0a635915f
kselftests: timers: freq-step: Update maximum acceptable precision and errors

PTI has a significant impact on precision of the MONOTONIC_RAW clock,
which prevents a lot of computers from running the freq-step test.
Increase the maximum acceptable precision for the test to not be skipped
to 500 nanoseconds.

After commit 1853067928d5 ("timekeeping/ntp: Determine the multiplier
directly from NTP tick length") the frequency and time errors should be
much smaller. Reduce the maximum acceptable values for the test to pass
to 0.02 ppm and 50 nanoseconds respectively.

Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Stephen Boyd <stephen.boyd@linaro.org>
Link: https://lkml.kernel.org/r/20190618160612.21957-1-mlichvar@redhat.com
tools/testing/selftests/timers/freq-step.c