diff options
author | Keqian Zhu <zhukeqian1@huawei.com> | 2020-12-04 08:31:25 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-12-05 19:33:55 +0100 |
commit | d8cc3905b8073c7cfbff94af889fa8dc71f21dd5 (patch) | |
tree | fc99afe4f2293eb10d701fbaf13739177029958e /.gitattributes | |
parent | clocksource/drivers/dw_apb_timer_of: Add error handling if no clock available (diff) | |
download | linux-d8cc3905b8073c7cfbff94af889fa8dc71f21dd5.tar.xz linux-d8cc3905b8073c7cfbff94af889fa8dc71f21dd5.zip |
clocksource/drivers/arm_arch_timer: Use stable count reader in erratum sne
In commit 0ea415390cd3 ("clocksource/arm_arch_timer: Use arch_timer_read_counter
to access stable counters"), we separate stable and normal count reader to omit
unnecessary overhead on systems that have no timer erratum.
However, in erratum_set_next_event_tval_generic(), count reader becomes normal
reader. This converts it to stable reader.
Fixes: 0ea415390cd3 ("clocksource/arm_arch_timer: Use arch_timer_read_counter to access stable counters")
Acked-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20201204073126.6920-2-zhukeqian1@huawei.com
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions