linux-sg2042/virt/kvm/arm/vgic
Christoffer Dall 0099b7701f KVM: arm/arm64: vgic: Don't flush/sync without a working vgic
If the vgic hasn't been created and initialized, we shouldn't attempt to
look at its data structures or flush/sync anything to the GIC hardware.

This fixes an issue reported by Alexander Graf when using a userspace
irqchip.

Fixes: 0919e84c0f ("KVM: arm/arm64: vgic-new: Add IRQ sync/flush framework")
Cc: stable@vger.kernel.org
Reported-by: Alexander Graf <agraf@suse.de>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2016-09-27 18:57:35 +02:00
..
vgic-init.c arm64: KVM: Use static keys for selecting the GIC backend 2016-09-22 13:21:35 +02:00
vgic-irqfd.c KVM: arm: vgic: Drop build compatibility hack for older kernel versions 2016-09-08 12:53:00 +02:00
vgic-its.c KVM: arm64: ITS: avoid re-mapping LPIs 2016-08-16 19:27:22 +02:00
vgic-kvm-device.c ARM: KVM: Support vgic-v3 2016-09-22 13:22:21 +02:00
vgic-mmio-v2.c KVM: arm/arm64: Fix vGICv2 KVM_DEV_ARM_VGIC_GRP_CPU/DIST_REGS 2016-07-18 18:15:15 +01:00
vgic-mmio-v3.c KVM: arm: vgic: Support 64-bit data manipulation on 32-bit host systems 2016-09-22 13:21:59 +02:00
vgic-mmio.c ARM: KVM: Support vgic-v3 2016-09-22 13:22:21 +02:00
vgic-mmio.h ARM: KVM: Support vgic-v3 2016-09-22 13:22:21 +02:00
vgic-v2.c arm64: KVM: vgic-v2: Enable GICV access from HYP if access from guest is unsafe 2016-09-08 12:53:00 +02:00
vgic-v3.c KVM: arm64: ITS: move ITS registration into first VCPU run 2016-08-15 23:00:21 +02:00
vgic.c KVM: arm/arm64: vgic: Don't flush/sync without a working vgic 2016-09-27 18:57:35 +02:00
vgic.h ARM: KVM: Support vgic-v3 2016-09-22 13:22:21 +02:00