Merge branch 'timer_evtstrm' of git://linux-arm.org/linux-skn into clockevents/3.13
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 3 Oct 2013 14:13:51 +0000 (16:13 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 3 Oct 2013 14:13:51 +0000 (16:13 +0200)
commit191124efb4d6e5e47fe073b4b97350873523e88c
tree8fb9dbbff739e19aa1750c58fe5ec12ee6547e49
parent68e90740284c69292881cd38c7ece6f09a18a58f
parent346e7480f1d4740b3d798da60f83f087ea6488b4
Merge branch 'timer_evtstrm' of git://linux-arm.org/linux-skn into clockevents/3.13

Adds support to configure the rate and enable the event stream for architected
timer. The event streams can be used to impose a timeout on a wfe, to safeguard
against any programming error in case an expected event is not generated or
even to implement wfe-based timeouts for userspace locking implementations.
This feature can be disabled(enabled by default).

Since the timer control register is reset to zero on warm boot, CPU PM notifier
is added to save and restore the value.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/Kconfig
drivers/clocksource/arm_arch_timer.c