Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clocksource/drivers/arm_arch_timer: Advertise 56bit timer to the core code

Proudly tell the code code that we have a timer able to handle
56 bits deltas.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211017124225.3018098-9-maz@kernel.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Marc Zyngier and committed by
Daniel Lezcano
30aa08da 8b82c4f8

+1 -1
+1 -1
drivers/clocksource/arm_arch_timer.c
··· 834 834 835 835 clk->set_state_shutdown(clk); 836 836 837 - clockevents_config_and_register(clk, arch_timer_rate, 0xf, 0x7fffffff); 837 + clockevents_config_and_register(clk, arch_timer_rate, 0xf, CLOCKSOURCE_MASK(56)); 838 838 } 839 839 840 840 static void arch_timer_evtstrm_enable(int divider)