]> 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)
commit24611150b3c0c0b79827d575af1ce835cb99eb8d
tree4f91db4a2617519c0f61da33971fa2f4cff61a75
parent3afdee63243dce04b241f353539f214f5e803df2
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