Skip to content

Commit

Permalink
ARM: 7523/1: arch_timers: enable the use of the virtual timer
Browse files Browse the repository at this point in the history
At the moment, the arch_timer driver only uses the physical timer,
which can cause problem if PL2 hasn't enabled PL1 access in CNTHCTL,
which is likely in a virtualized environment. Instead, the virtual
timer is always available.

This patch enables the use of the virtual timer, unless no
interrupt is provided in the DT for it, in which case it falls
back to the physical timer.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Marc Zyngier authored and Russell King committed Sep 15, 2012
1 parent 55d512e commit f48b5f1
Showing 1 changed file with 241 additions and 102 deletions.
Loading

0 comments on commit f48b5f1

Please sign in to comment.