summaryrefslogtreecommitdiff
path: root/arch/mips/kvm/emulate.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2016-07-08 10:53:27 (GMT)
committerPaolo Bonzini <pbonzini@redhat.com>2016-08-01 16:42:25 (GMT)
commit5808844f03b4b31a13a87cf41cc0701718c1b622 (patch)
tree80e41efb53902c276f2fd64e1f84c9249cafe8b1 /arch/mips/kvm/emulate.c
parent2a06dab877dee3d4144c3ba32c662db18a1fdd2b (diff)
downloadlinux-5808844f03b4b31a13a87cf41cc0701718c1b622.tar.xz
MIPS: KVM: Fix 64-bit big endian dynamic translation
The MFC0 and MTC0 instructions in the guest which cause traps can be replaced with 32-bit loads and stores to the commpage, however on big endian 64-bit builds the offset needs to have 4 added so as to load/store the least significant half of the long instead of the most significant half. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: "Radim Krčmář" <rkrcmar@redhat.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips/kvm/emulate.c')
0 files changed, 0 insertions, 0 deletions