diff options
author | Mark Rutland <mark.rutland@arm.com> | 2013-03-26 13:41:35 +0000 |
---|---|---|
committer | Mark Rutland <mark.rutland@arm.com> | 2013-06-07 10:20:27 +0100 |
commit | f793c23ebbe5afd1cabf4a42a3a297022213756f (patch) | |
tree | 020318db2b30ce500241d60480ea96bcbadf1b78 /arch/arm/mach-virt/Kconfig | |
parent | 0af0b189abf73d232af782df2f999235cd2fed7f (diff) | |
download | blackbird-op-linux-f793c23ebbe5afd1cabf4a42a3a297022213756f.tar.gz blackbird-op-linux-f793c23ebbe5afd1cabf4a42a3a297022213756f.zip |
ARM: KVM: arch_timers: zero CNTVOFF upon return to host
To use the virtual counters from the host, we need to ensure that
CNTVOFF doesn't change unexpectedly. When we change to a guest, we
replace the host's CNTVOFF, but we don't restore it when returning to
the host.
As the host sets CNTVOFF to zero, and never changes it, we can simply
zero CNTVOFF when returning to the host. This patch adds said zeroing to
the return to host path.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Christoffer Dall <cdall@cs.columbia.edu>
Diffstat (limited to 'arch/arm/mach-virt/Kconfig')
0 files changed, 0 insertions, 0 deletions