Re: [PATCH v3 18/20] KVM: arm/arm64: Avoid phys timer emulation in vcpu entry/exit

2017-10-19 Thread Christoffer Dall
On Tue, Oct 10, 2017 at 10:45:15AM +0100, Marc Zyngier wrote: > On Sat, Sep 23 2017 at 2:42:05 am BST, Christoffer Dall > wrote: > > There is no need to schedule and cancel a hrtimer when entering and > > exiting the guest, because we know when the physical timer is going to > > fire when the gu

Re: [PATCH v3 18/20] KVM: arm/arm64: Avoid phys timer emulation in vcpu entry/exit

2017-10-10 Thread Marc Zyngier
On Sat, Sep 23 2017 at 2:42:05 am BST, Christoffer Dall wrote: > There is no need to schedule and cancel a hrtimer when entering and > exiting the guest, because we know when the physical timer is going to > fire when the guest programs it, and we can simply program the hrtimer > at that point.

[PATCH v3 18/20] KVM: arm/arm64: Avoid phys timer emulation in vcpu entry/exit

2017-09-22 Thread Christoffer Dall
There is no need to schedule and cancel a hrtimer when entering and exiting the guest, because we know when the physical timer is going to fire when the guest programs it, and we can simply program the hrtimer at that point. Now when the register modifications from the guest go through the kvm_arm