aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2016-06-15 19:29:51 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-06-15 23:58:25 +0200
commite57759306c44ba6105c04eafc3b22efc55bb7ad2 (patch)
treede4d0e515a7d65dcdb06214ea6ea1aa214b2404b /tools/perf/scripts/python
parentMIPS: KVM: Use raw_cpu_has_fpu in kvm_mips_guest_can_have_fpu() (diff)
downloadlinux-e57759306c44ba6105c04eafc3b22efc55bb7ad2.tar.gz
linux-e57759306c44ba6105c04eafc3b22efc55bb7ad2.zip
MIPS: KVM: List FPU/MSA registers
Make KVM_GET_REG_LIST list FPU & MSA registers. Specifically we list all 32 vector registers when MSA can be enabled, 32 single-precision FP registers when FPU can be enabled, and either 16 or 32 double-precision FP registers when FPU can be enabled depending on whether FR mode is supported (which provides 32 doubles instead of 16 even doubles). Note, these registers may still be inaccessible depending on the current FP mode of the guest. 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions