From: Christoffer Dall Date: Mon, 22 Sep 2014 20:10:36 +0000 (+0200) Subject: arm/arm64: KVM: Fix unaligned access bug on gicv2 access X-Git-Tag: fixes-for-v3.18-merge-window~84^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f2bb4acc125edc2c06db3ad3e8c699bc075ad52;p=pandora-kernel.git 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 Reported-by: Riku Voipio Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed