arm64: KVM: initialize HYP mode following the kernel endianness
authorMarc Zyngier <Marc.Zyngier@arm.com>
Tue, 5 Nov 2013 18:29:45 +0000 (18:29 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 6 Nov 2013 10:10:01 +0000 (10:10 +0000)
commit18ea3dbc9e5c8a53a361b17c4a5676ea6f4bcb72
treee810b44dc26c718fd52d4e8ad4f5a6d4aafe9b36
parentaa62c2091129af81a172350b718eb35d5448cebc
arm64: KVM: initialize HYP mode following the kernel endianness

Force SCTLR_EL2.EE to 1 if the kernel is compiled as BE.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kvm/hyp-init.S