commit | 4cd832bf0a3a612e8f0379fe9fb033b2ba9a7d9f | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Sat Jul 12 14:24:00 2014 +0100 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Mon Jul 28 17:06:28 2014 +0200 |
tree | 8248f7a20fe05be8e87dac0987b00841f8b3ce7f | |
parent | e91957737e42c5407e81c7870d55a64bf30b4739 [diff] |
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 <marc.zyngier@arm.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>