linux-stable/virt/kvm/arm
Christoffer Dall 1f2bb4acc1 arm/arm64: KVM: Fix unaligned access bug on gicv2 access
We were using an atomic bitop on the vgic_v2.vgic_elrsr field which was
not aligned to the natural size on 64-bit platforms.  This bug showed up
after QEMU correctly identifies the pl011 line as being level-triggered,
and not edge-triggered.

These data structures are protected by a spinlock so simply use a
non-atomic version of the accessor instead.

Tested-by: Joel Schopp <joel.schopp@amd.com>
Reported-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2014-09-22 23:05:56 +02:00
..
arch_timer.c arm, kvm: fix double lock on cpu_add_remove_lock 2014-04-08 13:15:54 +02:00
vgic-v2.c arm/arm64: KVM: Fix unaligned access bug on gicv2 access 2014-09-22 23:05:56 +02:00
vgic-v3.c KVM: arm64: GICv3: mandate page-aligned GICV region 2014-07-31 15:59:40 +02:00
vgic.c KVM/ARM New features for 3.17 include: 2014-08-05 09:47:45 +02:00