Re: [PATCH] KVM: arm/arm64: timer: Don't set irq as forwarded if no usable GIC

2017-12-11 Thread Christoffer Dall
On Thu, Dec 07, 2017 at 11:46:15AM +, Marc Zyngier wrote: > If we don't have a usable GIC, do not try to set the vcpu affinity > as this is guaranteed to fail. Reviewed-by: Christoffer Dall ... and applied. Thanks for fixing my broken code, -Christoffer > > Reported-by: Andre Przywara >

Re: [PATCH] KVM: arm/arm64: timer: Don't set irq as forwarded if no usable GIC

2017-12-07 Thread Andre Przywara
Hi, On 07/12/17 11:46, Marc Zyngier wrote: > If we don't have a usable GIC, do not try to set the vcpu affinity > as this is guaranteed to fail. Yes, I can confirm that this fixes the problem. With this patch and a DT advertising only a 4K GICC region size KVM still initializes, but denies the in

[PATCH] KVM: arm/arm64: timer: Don't set irq as forwarded if no usable GIC

2017-12-07 Thread Marc Zyngier
If we don't have a usable GIC, do not try to set the vcpu affinity as this is guaranteed to fail. Reported-by: Andre Przywara Signed-off-by: Marc Zyngier --- include/kvm/arm_arch_timer.h | 2 +- virt/kvm/arm/arch_timer.c| 13 - virt/kvm/arm/arm.c | 2 +- 3 files chan