]> git.karo-electronics.de Git - linux-beck.git/commit
ARM64: KVM: MMIO support BE host running LE code
authorVictor Kamensky <victor.kamensky@linaro.org>
Thu, 12 Jun 2014 16:30:08 +0000 (09:30 -0700)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 11 Jul 2014 11:57:41 +0000 (04:57 -0700)
commitb30070862edbdb252f9d0d3a1e61b8dc4c68e3d2
treee6ee1ef3449c95983ef8753d65f4e455f0140a55
parentf5aa462147a209dab40b02f0f70234784b913bf9
ARM64: KVM: MMIO support BE host running LE code

In case of guest CPU running in 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/arm64/include/asm/kvm_emulate.h