diff options
author | James Hogan <[email protected]> | 2014-12-02 15:48:24 +0000 |
---|---|---|
committer | James Hogan <[email protected]> | 2015-03-27 21:25:17 +0000 |
commit | 379245cdf1d1efc1eccc38bf0cc985dae232123d (patch) | |
tree | 6b61c5f80129fac86533f2e7cc3d05e8320324b8 /tools/perf/scripts/python | |
parent | 1c0cd66adbac8aa339b9521eceb18b00d1b0699e (diff) |
MIPS: KVM: Expose FPU registers
Add KVM register numbers for the MIPS FPU registers, and implement
access to them with the KVM_GET_ONE_REG / KVM_SET_ONE_REG ioctls when
the FPU capability is enabled (exposed in a later patch) and present in
the guest according to its Config1.FP bit.
The registers are accessible in the current mode of the guest, with each
sized access showing what the guest would see with an equivalent access,
and like the architecture they may become UNPREDICTABLE if the FR mode
is changed. When FR=0, odd doubles are inaccessible as they do not exist
in that mode.
Signed-off-by: James Hogan <[email protected]>
Acked-by: Paolo Bonzini <[email protected]>
Cc: Paul Burton <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Gleb Natapov <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions