[PATCH v2 0/2] Add test to validate udelay

From: David Riley
Date: Wed May 14 2014 - 18:31:22 EST


This change adds a module and a script that makes use of it to
validate that udelay delays for at least as long as requested
(as compared to ktime).

Changes since v1:
- allow udelay() to be 0.5% faster than requested as per feedback

David Riley (2):
kernel: time: Add udelay_test module to validate udelay
tools: add script to test udelay

kernel/time/Kconfig | 7 ++
kernel/time/Makefile | 1 +
kernel/time/udelay_test.c | 169 +++++++++++++++++++++++++++++++++++++++++++++
tools/time/udelay_test.sh | 66 ++++++++++++++++++
4 files changed, 243 insertions(+)
create mode 100644 kernel/time/udelay_test.c
create mode 100644 tools/time/udelay_test.sh

--
1.7.9.5

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