diff options
author | James Hogan <[email protected]> | 2016-07-08 11:53:28 +0100 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2016-08-01 18:42:25 +0200 |
commit | 172e02d1474d5c37a8728ccdfdc731c118366144 (patch) | |
tree | 5aa672f62fde25a0eaedcdbca40b9db3001f877c /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 5808844f03b4b31a13a87cf41cc0701718c1b622 (diff) |
MIPS: KVM: Sign extend MFC0/RDHWR results
When emulating MFC0 instructions to load 32-bit values from guest COP0
registers and the RDHWR instruction to read the CC (Count) register,
sign extend the result to comply with the MIPS64 architecture. The
result must be in canonical 32-bit form or the guest may malfunction.
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 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions