Re: [PATCH 3/4] arm/arm64: KVM: Fix migration race in the arch timer

2015-03-02 Thread Marc Zyngier
On 02/03/15 08:50, Alex Bennée wrote: Marc Zyngier marc.zyng...@arm.com writes: On Wed, 25 Feb 2015 15:36:21 + Alex Bennée alex.ben...@linaro.org wrote: Alex, Christoffer, snip So the first half of the patch looks perfectly OK to me... diff --git a/virt/kvm/arm/vgic.c

Re: [PATCH 3/4] arm/arm64: KVM: Fix migration race in the arch timer

2015-03-02 Thread Alex Bennée
Marc Zyngier marc.zyng...@arm.com writes: On 02/03/15 08:50, Alex Bennée wrote: Marc Zyngier marc.zyng...@arm.com writes: On Wed, 25 Feb 2015 15:36:21 + Alex Bennée alex.ben...@linaro.org wrote: Alex, Christoffer, snip So the first half of the patch looks perfectly OK to me...

Re: [PATCH 3/4] arm/arm64: KVM: Fix migration race in the arch timer

2015-03-02 Thread Alex Bennée
Marc Zyngier marc.zyng...@arm.com writes: On Wed, 25 Feb 2015 15:36:21 + Alex Bennée alex.ben...@linaro.org wrote: Alex, Christoffer, snip So the first half of the patch looks perfectly OK to me... diff --git a/virt/kvm/arm/vgic.c b/virt/kvm/arm/vgic.c index af6a521..3b4ded2 100644

Re: [PATCH 3/4] arm/arm64: KVM: Fix migration race in the arch timer

2015-02-28 Thread Marc Zyngier
On Wed, 25 Feb 2015 15:36:21 + Alex Bennée alex.ben...@linaro.org wrote: Alex, Christoffer, From: Christoffer Dall christoffer.d...@linaro.org When a VCPU is no longer running, we currently check to see if it has a timer scheduled in the future, and if it does, we schedule a host

[PATCH 3/4] arm/arm64: KVM: Fix migration race in the arch timer

2015-02-25 Thread Alex Bennée
From: Christoffer Dall christoffer.d...@linaro.org When a VCPU is no longer running, we currently check to see if it has a timer scheduled in the future, and if it does, we schedule a host hrtimer to notify is in case the timer expires while the VCPU is still not running. When the hrtimer fires,