diff options
| author | James Hogan <[email protected]> | 2016-07-08 10:53:27 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2016-08-01 16:42:25 +0000 |
| commit | 5808844f03b4b31a13a87cf41cc0701718c1b622 (patch) | |
| tree | 80e41efb53902c276f2fd64e1f84c9249cafe8b1 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | MIPS: KVM: Fail if ebase doesn't fit in CP0_EBase (diff) | |
| download | kernel-5808844f03b4b31a13a87cf41cc0701718c1b622.tar.gz kernel-5808844f03b4b31a13a87cf41cc0701718c1b622.zip | |
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 <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: "Radim Krčmář" <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
