Re: [PATCH v2 7/9] KVM: arm/arm64: PMU: remove request-less vcpu kick

2017-04-04 Thread Andrew Jones
On Tue, Apr 04, 2017 at 07:46:12PM +0200, Christoffer Dall wrote: > On Fri, Mar 31, 2017 at 06:06:56PM +0200, Andrew Jones wrote: > > Refactor PMU overflow handling in order to remove the request-less > > vcpu kick. Now, since kvm_vgic_inject_irq() uses vcpu requests, > > there should be no

[PATCH v2 7/9] KVM: arm/arm64: PMU: remove request-less vcpu kick

2017-03-31 Thread Andrew Jones
Refactor PMU overflow handling in order to remove the request-less vcpu kick. Now, since kvm_vgic_inject_irq() uses vcpu requests, there should be no chance that a kick sent at just the wrong time (between the VCPU's call to kvm_pmu_flush_hwstate() and before it enters guest mode) results in a