Re: [PATCH] KVM: arm/arm64: timer: Fix hw sync for user space irqchip path

2016-09-21 Thread Christoffer Dall
On Tue, Sep 20, 2016 at 06:28:15PM +0100, Marc Zyngier wrote: > Alex, > > On 16/09/16 06:16, Alexander Graf wrote: > > While adding the new vgic implementation, apparently nobody tested > > the non-vgic path where user space controls the vgic, so two functions > > slipped through the cracks that g

Re: [PATCH] KVM: arm/arm64: timer: Fix hw sync for user space irqchip path

2016-09-20 Thread Marc Zyngier
Alex, On 16/09/16 06:16, Alexander Graf wrote: > While adding the new vgic implementation, apparently nobody tested > the non-vgic path where user space controls the vgic, so two functions > slipped through the cracks that get called in generic code but don't > check whether hardware support is en

[PATCH] KVM: arm/arm64: timer: Fix hw sync for user space irqchip path

2016-09-15 Thread Alexander Graf
While adding the new vgic implementation, apparently nobody tested the non-vgic path where user space controls the vgic, so two functions slipped through the cracks that get called in generic code but don't check whether hardware support is enabled. This patch guards them with proper checks to ens