KVM: arm/arm64: Get rid of kvm_timer_flush_hwstate
authorChristoffer Dall <cdall@linaro.org>
Tue, 20 Jun 2017 14:56:20 +0000 (07:56 -0700)
committerChristoffer Dall <christoffer.dall@linaro.org>
Mon, 6 Nov 2017 15:23:16 +0000 (16:23 +0100)
commit7e90c8e5704cbb299d48e7debb1e61614cb12f41
tree199cf80c25b461cf43c71ff1a2f47e6cc590ba4b
parentbbdd52cfcba290560909498c7d5681f19894587b
KVM: arm/arm64: Get rid of kvm_timer_flush_hwstate

Now when both the vtimer and the ptimer when using both the in-kernel
vgic emulation and a userspace IRQ chip are driven by the timer signals
and at the vcpu load/put boundaries, instead of recomputing the timer
state at every entry/exit to/from the guest, we can get entirely rid of
the flush hwstate function.

Signed-off-by: Christoffer Dall <cdall@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
include/kvm/arm_arch_timer.h
virt/kvm/arm/arch_timer.c
virt/kvm/arm/arm.c