Skip to content
Snippets Groups Projects
Commit 64fd44dc authored by Marc Zyngier's avatar Marc Zyngier Committed by Albert ARIBAUD
Browse files

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: default avatarMarc Zyngier <marc.zyngier@arm.com>
Acked-by: default avatarIan Campbell <ijc@hellion.org.uk>
parent 800c8352
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment