linux/arch/arm/kvm
Mark Rutland f793c23ebb 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>
2013-06-07 10:20:27 +01:00
..
arch_timer.c ARM: KVM: arch_timer: use symbolic constants 2013-04-28 22:22:57 -07:00
arm.c Merge tag 'kvm-3.10-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2013-05-05 14:47:31 -07:00
coproc_a15.c KVM: ARM: Emulation framework and CP15 emulation 2013-01-23 13:29:13 -05:00
coproc.c Merge branches 'devel-stable', 'entry', 'fixes', 'mach-types', 'misc' and 'smp-hotplug' into for-linus 2013-05-02 21:30:36 +01:00
coproc.h ARM: KVM: convert GP registers from u32 to unsigned long 2013-03-06 15:48:42 -08:00
emulate.c ARM: KVM: move kvm_handle_wfi to handle_exit.c 2013-03-06 15:48:45 -08:00
guest.c ARM: KVM: move kvm_target_cpu to guest.c 2013-03-06 15:48:44 -08:00
handle_exit.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-05-03 09:13:19 -07:00
init.S ARM: KVM: switch to a dual-step HYP init code 2013-04-28 22:23:10 -07:00
interrupts_head.S ARM: KVM: arch_timers: zero CNTVOFF upon return to host 2013-06-07 10:20:27 +01:00
interrupts.S ARM: KVM: change kvm_tlb_flush_vmid to kvm_tlb_flush_vmid_ipa 2013-03-06 15:48:45 -08:00
Kconfig ARM: KVM: define KVM_ARM_MAX_VCPUS unconditionally 2013-04-28 22:23:14 -07:00
Makefile ARM: KVM: add support for minimal host vs guest profiling 2013-04-28 21:44:01 -07:00
mmio.c ARM: KVM: Fix length of mmio access 2013-03-06 16:01:51 -08:00
mmu.c ARM: KVM: perform HYP initilization for hotplugged CPUs 2013-04-28 22:23:11 -07:00
perf.c ARM: KVM: add support for minimal host vs guest profiling 2013-04-28 21:44:01 -07:00
psci.c KVM: ARM: Power State Coordination Interface implementation 2013-01-23 13:29:18 -05:00
reset.c KVM: ARM: Initial skeleton to compile KVM support 2013-01-23 13:29:10 -05:00
trace.h KVM: ARM: Handle I/O aborts 2013-01-23 13:29:17 -05:00
vgic.c Merge branches 'devel-stable', 'entry', 'fixes', 'mach-types', 'misc' and 'smp-hotplug' into for-linus 2013-05-02 21:30:36 +01:00