diff options
author | Christoffer Dall <christoffer.dall@linaro.org> | 2016-09-27 16:53:35 (GMT) |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2016-09-27 16:57:35 (GMT) |
commit | 0099b7701f5296a758d9e6b945ec96f96847cc2f (patch) | |
tree | b476db568803208d16c52d23ce90022b9863c743 /arch/arm/vfp/vfp.h | |
parent | 6fe407f2d18a4f94216263f91cb7d1f08fa5887c (diff) | |
download | linux-0099b7701f5296a758d9e6b945ec96f96847cc2f.tar.xz |
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: 0919e84c0fc1 ("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>
Diffstat (limited to 'arch/arm/vfp/vfp.h')
0 files changed, 0 insertions, 0 deletions