• Daniel Lezcano's avatar
    Merge branch 'timer_evtstrm' of git://linux-arm.org/linux-skn into clockevents/3.13 · 191124ef
    Daniel Lezcano authored
    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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
    191124ef
arm_arch_timer.c 18.5 KB