Skip to content

Commit

Permalink
clocksource/drivers/arm_arch_timer: Advertise 56bit timer to the core…
Browse files Browse the repository at this point in the history
… 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>
  • Loading branch information
Marc Zyngier authored and Daniel Lezcano committed Oct 17, 2021
1 parent 8b82c4f commit 30aa08d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clocksource/arm_arch_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ static void __arch_timer_setup(unsigned type,

clk->set_state_shutdown(clk);

clockevents_config_and_register(clk, arch_timer_rate, 0xf, 0x7fffffff);
clockevents_config_and_register(clk, arch_timer_rate, 0xf, CLOCKSOURCE_MASK(56));
}

static void arch_timer_evtstrm_enable(int divider)
Expand Down

0 comments on commit 30aa08d

Please sign in to comment.