[PATCH] clocksource: arch_timer: Fix code to use physical timers when requested

Olof Johansson olof at lixom.net
Wed Aug 27 14:19:21 PDT 2014


On Wed, Aug 27, 2014 at 2:03 PM, Sonny Rao <sonnyrao at chromium.org> wrote:
> This is a bug fix for using physical arch timers when
> the arch_timer_use_virtual boolean is false.  It restores the
> arch_counter_get_cntpct() function after removal in
>
> 0d651e4e "clocksource: arch_timer: use virtual counters"
>
> and completes the implementation of memory mapped access for physical
> timers, so if a system is trying to use physical timers, it will
> function properly.
>
> Signed-off-by: Sonny Rao <sonnyrao at chromium.org>

Acked-by: Olof Johansson <olof at lixom.net>

This should have a:

Fixes: 0d651e4e65e9 ("clocksource: arch_timer: use virtual counters")

tag too, and possibly cc stable?


-Olof



More information about the linux-arm-kernel mailing list