exynos-linux-stable/virt/kvm/arm/vgic
Marc Zyngier 9414a6309c KVM: arm/arm64: vgic-its: Preserve the revious read from the pending table
commit 64afe6e9eb4841f35317da4393de21a047a883b3 upstream.

The current pending table parsing code assumes that we keep the
previous read of the pending bits, but keep that variable in
the current block, making sure it is discarded on each loop.

We end-up using whatever is on the stack. Who knows, it might
just be the right thing...

Fixes: 33d3bc9556 ("KVM: arm64: vgic-its: Read initial LPI pending table")
Cc: stable@vger.kernel.org # 4.8
Reported-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-16 16:25:47 +01:00
..
vgic-init.c KVM: arm/arm64: vgic: Fix deadlock on error handling 2017-01-26 08:24:39 +01:00
vgic-irqfd.c KVM: arm/arm64: vgic-irqfd: Fix MSI entry allocation 2017-12-14 09:28:14 +01:00
vgic-its.c KVM: arm/arm64: vgic-its: Preserve the revious read from the pending table 2017-12-16 16:25:47 +01: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 KVM: arm/arm64: Let vcpu thread modify its own active state 2017-03-18 19:14:34 +08:00
vgic-mmio.h KVM: arm/arm64: vgic: Prevent access to invalid SPIs 2016-11-04 17:56:54 +00:00
vgic-v2.c KVM: arm/arm64: vgic-v2: Do not use Active+Pending state for a HW interrupt 2017-06-14 15:05:56 +02:00
vgic-v3.c KVM: arm/arm64: vgic-v3: Do not use Active+Pending state for a HW interrupt 2017-06-14 15:05:56 +02:00
vgic.c KVM: arm/arm64: vgic: Kick VCPUs when queueing already pending IRQs 2016-11-04 17:56:56 +00:00
vgic.h ARM: KVM: Support vgic-v3 2016-09-22 13:22:21 +02:00