OpenCloudOS-Kernel/virt/kvm/arm/hyp
Christoffer Dall 04fef05700 KVM: arm64: Remove noop calls to timer save/restore from VHE switch
The VHE switch function calls __timer_enable_traps and
__timer_disable_traps which don't do anything on VHE systems.
Therefore, simply remove these calls from the VHE switch function and
make the functions non-conditional as they are now only called from the
non-VHE switch path.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2018-03-19 10:53:14 +00:00
..
timer-sr.c KVM: arm64: Remove noop calls to timer save/restore from VHE switch 2018-03-19 10:53:14 +00:00
vgic-v2-sr.c KVM: arm/arm64: Detangle kvm_mmu.h from kvm_hyp.h 2018-01-08 15:20:43 +01:00
vgic-v3-sr.c KVM: arm/arm64: GICv4: Enable virtual cpuif if VLPIs can be delivered 2017-11-10 09:43:56 +01:00