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

From
Tony Lindgren <tony@atomide.com>
Date
2012-08-17 09:29:14
Also in
linux-arch, lkml
Reply to
Catalin Marinas, 2012-08-14
* Catalin Marinas [off-list ref] [120814 11:00]:
From: Marc Zyngier <redacted>

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@atomide.com>
Thread (170 messages) 170 messages, 19 authors, last reply 2012-09-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help