]> Git Repo - J-u-boot.git/commit
ARM: non-sec: reset CNTVOFF to zero
authorMarc Zyngier <[email protected]>
Sat, 12 Jul 2014 13:24:00 +0000 (14:24 +0100)
committerAlbert ARIBAUD <[email protected]>
Mon, 28 Jul 2014 15:06:28 +0000 (17:06 +0200)
commit64fd44dcae0daafb011f98d4b2d4e1f28036b99e
tree8248f7a20fe05be8e87dac0987b00841f8b3ce7f
parent800c83522ca6a7d6fd0b058f423501b4cc52d6d6
ARM: non-sec: reset CNTVOFF to zero

Before switching to non-secure, make sure that CNTVOFF is set
to zero on all CPUs. Otherwise, kernel running in non-secure
without HYP enabled (hence using virtual timers) may observe
timers that are not synchronized, effectively seeing time
going backward...

Signed-off-by: Marc Zyngier <[email protected]>
Acked-by: Ian Campbell <[email protected]>
arch/arm/cpu/armv7/nonsec_virt.S
This page took 0.034154 seconds and 4 git commands to generate.