ARM: KVM: MMIO support BE host running LE code
authorVictor Kamensky <victor.kamensky@linaro.org>
Thu, 12 Jun 2014 16:30:05 +0000 (09:30 -0700)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 11 Jul 2014 11:57:40 +0000 (04:57 -0700)
commit27f194fd360a96cc64bebb2d69dd5abd67984b8a
treefcac786e143642c7caf806f52d87b60237ab4f8d
parent1c9f04717ca8326e8df759d5dda9cd1b3d968b5b
ARM: KVM: MMIO support BE host running LE code

In case of status register E bit is not set (LE mode) and host runs in
BE mode we need byteswap data, so read/write is emulated correctly.

Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/kvm_emulate.h
This page took 0.07598 seconds and 5 git commands to generate.