James Hogan 5808844f03 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>
2016-08-01 18:42:25 +02:00
..
2016-02-19 09:51:43 +01:00
2013-11-26 12:12:27 +01:00
2016-04-03 12:32:09 +02:00
2016-05-24 11:00:20 -07:00
2016-05-13 14:02:18 +02:00
2016-05-28 12:35:11 +02:00
2016-05-28 12:35:07 +02:00
2016-07-05 16:08:40 +02:00
2016-05-28 12:35:09 +02:00
2016-05-28 12:35:07 +02:00
2016-05-28 12:35:11 +02:00
2016-05-28 12:35:09 +02:00
2016-05-28 12:35:09 +02:00
2016-05-28 12:35:09 +02:00
2015-11-11 08:36:36 +01:00