arm64: KVM: vgic: byteswap GICv2 access on world switch if BE
authorMarc Zyngier <Marc.Zyngier@arm.com>
Tue, 5 Nov 2013 18:29:46 +0000 (18:29 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:19 +0000 (17:18 +0200)
commit128a021aa83b73d07153f8fee5dd22e6933f62e2
tree525bf629e6b5d136de3ae522dd92e9e973f503a2
parent60979ebbbbe9d4c56e87cffcaa92933d96637d7b
arm64: KVM: vgic: byteswap GICv2 access on world switch if BE

Ensure that accesses to the GICH_* registers are byteswapped
when the kernel is compiled as big-endian.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit c5b2c0f5203b3bc678a8967daedf7114029975ae)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/kvm/hyp.S