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)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 6 Nov 2013 10:10:12 +0000 (10:10 +0000)
commitc5b2c0f5203b3bc678a8967daedf7114029975ae
treef4dcca6fb18d3bfd81dbcf00e417599f8ed99c1b
parent18ea3dbc9e5c8a53a361b17c4a5676ea6f4bcb72
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>
arch/arm64/kvm/hyp.S