[PATCH 1/2] clocksource: arm_arch_timer: Simplify and fix count reader code logic
Marc Zyngier
maz at kernel.org
Mon Aug 17 08:52:11 EDT 2020
On 2020-08-17 13:24, Keqian Zhu wrote:
> In commit 0ea415390cd3 (clocksource/arm_arch_timer: Use
> arch_timer_read_counter
> to access stable counters), we separate stable and normal count reader.
> Actually
> the stable reader can correctly lead us to normal reader if we has no
> workaround.
Resulting in an unnecessary overhead on non-broken systems that can run
without CONFIG_ARM_ARCH_TIMER_OOL_WORKAROUND. Not happening.
> Besides, in erratum_set_next_event_tval_generic(), we use normal
> reader, it is
> obviously wrong, so just revert this commit to solve this problem by
> the way.
If you want to fix something, post a patch that does exactly that.
M.
--
Jazz is not dead. It just smells funny...
More information about the linux-arm-kernel
mailing list