summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm
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 /arch/mips/include/asm
parent19451e51012fa49070252b1b8157460d36618cee (diff)
downloadop-kernel-dev-e57759306c44ba6105c04eafc3b22efc55bb7ad2.zip
op-kernel-dev-e57759306c44ba6105c04eafc3b22efc55bb7ad2.tar.gz
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 'arch/mips/include/asm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud