]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: timer: Don't set irq as forwarded if no usable GIC
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 7 Dec 2017 11:46:15 +0000 (11:46 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Mon, 18 Dec 2017 09:53:23 +0000 (10:53 +0100)
commitaffbb09d4e4f882bb8e2a2332a6ffb6f71810c7c
tree4f91db4a2617519c0f61da33971fa2f4cff61a75
parent2fe24a01022f77406f06235d6dc2968e8ecf59d7
KVM: arm/arm64: timer: Don't set irq as forwarded if no usable GIC

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 <andre.przywara@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
include/kvm/arm_arch_timer.h
virt/kvm/arm/arch_timer.c
virt/kvm/arm/arm.c