diff options
author | Christoffer Dall | 2016-10-19 12:40:17 +0200 |
---|---|---|
committer | Christoffer Dall | 2017-11-06 16:23:09 +0100 |
commit | f39d16cbabf9f939745a3850a33760910d22ef35 (patch) | |
tree | 816939a7baa570c234d5c89757ee9364bb00cf8a /Kbuild | |
parent | arm64: Use physical counter for in-kernel reads when booted in EL2 (diff) | |
download | kernel-qcow2-linux-f39d16cbabf9f939745a3850a33760910d22ef35.tar.gz kernel-qcow2-linux-f39d16cbabf9f939745a3850a33760910d22ef35.tar.xz kernel-qcow2-linux-f39d16cbabf9f939745a3850a33760910d22ef35.zip |
KVM: arm/arm64: Guard kvm_vgic_map_is_active against !vgic_initialized
If the vgic is not initialized, don't try to grab its spinlocks or
traverse its data structures.
This is important because we soon have to start considering the active
state of a virtual interrupts when doing vcpu_load, which may happen
early on before the vgic is initialized.
Signed-off-by: Christoffer Dall <cdall@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions