History log of /external/linux-kselftest/tools/testing/selftests/timers/alarmtimer-suspend.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b841065043f996e2bf7648786485f3935625592b 11-Aug-2017 Shuah Khan <shuahkh@osg.samsung.com> selftests: timers: drop support for !KTEST case

There is no need to keep timers tests in sync with external timers
repo. Drop support for !KTEST to support for building and running
timers tests without kselftest framework.

Reference: https://lkml.org/lkml/2017/8/10/952
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Acked-by: John Stultz <john.stultz@linaro.org>
/external/linux-kselftest/tools/testing/selftests/timers/alarmtimer-suspend.c
fc4fa6e112c0f999fab022a4eb7f6614bb47c7ab 13-Dec-2015 Masanari Iida <standby24x7@gmail.com> treewide: Fix typo in printk

This patch fix spelling typos found in printk and Kconfig.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
/external/linux-kselftest/tools/testing/selftests/timers/alarmtimer-suspend.c
61171d0407b537eff299aea2388773b6c760e6eb 14-May-2015 John Stultz <john.stultz@linaro.org> kselftests: timers: Check _ALARM clockids are supported before suspending

It was reported that the alarmtimer-suspend test hangs on older
systems that don't support _ALARM clockids.

This is due to the fact that we don't check if the timer_create
fails, and thus when we suspend, the system will not programatically
resume.

Fix this by checking the timer_create call for errors.

Cc: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
/external/linux-kselftest/tools/testing/selftests/timers/alarmtimer-suspend.c
acd5705d2d17a229b1aa0e549951ec66164b9379 14-May-2015 John Stultz <john.stultz@linaro.org> kselftests: timers: Ease alarmtimer-suspend unreasonable latency value

On the hardware I have, resume latency from an alarm is often
2-3 seconds (with a fair amount of variability due to the RTC's
single second granularity). Having four seconds be the pass/fail
bar is maybe a little too tight, so extend this to 5 seconds.

Cc: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
/external/linux-kselftest/tools/testing/selftests/timers/alarmtimer-suspend.c
859b1bebe1e0e2e1fdfec77b019b9d7c27588e02 14-May-2015 John Stultz <john.stultz@linaro.org> kselftests: timers: Increase delay between suspends in alarmtimer-suspend

When testing on some hardware, waiting only a second before
re-triggering suspend can keep TCP connections from re-establishing
which after a number of cycles can cause TCP connections to close
while the test is running.

So extend the delay between suspend calls to 3 seconds to let
the connections stay alive.

Cc: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
/external/linux-kselftest/tools/testing/selftests/timers/alarmtimer-suspend.c
b7bb8442fa902272ffe937a226829c9be7bfb14b 12-Mar-2015 John Stultz <john.stultz@linaro.org> selftests/timers: Add alarmtimer-suspend test from timetests suite

This adds the alarmtimer-suspend test from the timetests suite,
which tests that the alarmtimers wake the system up from suspend
shortly after the time they were set to fire.

Cc: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Tested-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
/external/linux-kselftest/tools/testing/selftests/timers/alarmtimer-suspend.c