From: Victor Kamensky Date: Wed, 2 Jul 2014 16:19:30 +0000 (+0100) Subject: ARM64: KVM: fix big endian issue in access_vm_reg for 32bit guest X-Git-Tag: omap-for-v3.17/fixes-against-rc2~130^2~11^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0a3eaff71b8bd5d5acfda1f0cf3eedf49755622;p=pandora-kernel.git ARM64: KVM: fix big endian issue in access_vm_reg for 32bit guest Fix issue with 32bit guests running on top of BE KVM host. Indexes of high and low words of 64bit cp15 register are swapped in case of big endian code, since 64bit cp15 state is restored or saved with double word write or read instruction. Define helper macro to access low words of 64bit cp15 register. Signed-off-by: Victor Kamensky Signed-off-by: Marc Zyngier --- Reading git-diff-tree failed