Skip to content
Commit e704f93a authored by David Riley's avatar David Riley Committed by John Stultz
Browse files

kernel: time: Add udelay_test module to validate udelay



Create a module that allows udelay() to be executed to ensure that
it is delaying at least as long as requested (with a little bit of
error allowed).

There are some configurations which don't have reliably udelay
due to using a loop delay with cpufreq changes which should use
a counter time based delay instead.  This test aims to identify
those configurations where timing is unreliable.

Signed-off-by: default avatarDavid Riley <davidriley@chromium.org>
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
parent 1af447bd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment