From: Christoffer Dall Date: Sun, 28 Sep 2014 14:04:26 +0000 (+0200) Subject: arm/arm64: KVM: Fix BE accesses to GICv2 EISR and ELRSR regs X-Git-Tag: fixes-against-v3.18-rc2~42^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2df36a5dd6792870bef48f63bfca42055ea5b79c;p=pandora-kernel.git arm/arm64: KVM: Fix BE accesses to GICv2 EISR and ELRSR regs The EIRSR and ELRSR registers are 32-bit registers on GICv2, and we store these as an array of two such registers on the vgic vcpu struct. However, we access them as a single 64-bit value or as a bitmap pointer in the generic vgic code, which breaks BE support. Instead, store them as u64 values on the vgic structure and do the word-swapping in the assembly code, which already handles the byte order for BE systems. Tested-by: Victor Kamensky Acked-by: Marc Zyngier Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed