[PATCH v2 28/31] arm64: Generic timers support

Tony Lindgren tony at atomide.com
Fri Aug 17 05:29:06 EDT 2012


* Catalin Marinas <catalin.marinas at arm.com> [120814 11:00]:
> From: Marc Zyngier <marc.zyngier at arm.com>
> 
> This patch adds support for the ARM generic timers with A64 instructions
> for accessing the timer registers. It uses the physical counter as the
> clock source and the virtual counter as sched_clock.
> 
> The timer frequency can be specified via DT or read from the CNTFRQ_EL0
> register. The physical counter is also accessible from user space
> allowing fast gettimeofday() implementation.

Can we always assume we can boot the kernel with ARM generic timers
and interrupts?

If so, maybe that should be mentioned in the booting requirements doc as
that means we can delay SoC specific initialization quite a bit and boot
with generic kernel to the initramfs ;)

Other than that:

Acked-by: Tony Lindgren <tony at atomide.com>



More information about the linux-arm-kernel mailing list