Thread (38 messages) 38 messages, 5 authors, 2012-07-24
STALE5065d REVIEWED: 1 (0M)

[PATCH v2 1/2] ARM: arch timer: implement read_current_timer and get_cycles

From: Stephen Boyd <hidden>
Date: 2012-07-02 19:14:55

On 06/29/12 10:33, Will Deacon wrote:
This patch implements read_current_timer using the architected timers
when they are selected via CONFIG_ARM_ARCH_TIMER. If they are detected
not to be usable at runtime, we return -ENXIO to the caller.

Furthermore, if read_current_timer is exported then we can implement
get_cycles in terms of it for use as both an entropy source and for
implementing __udelay and friends.

Signed-off-by: Will Deacon <redacted>
Reviewed-by: Stephen Boyd <redacted>

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help