diff options
author | James Hogan <james.hogan@imgtec.com> | 2016-06-15 19:29:51 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-06-15 23:58:25 +0200 |
commit | e57759306c44ba6105c04eafc3b22efc55bb7ad2 (patch) | |
tree | de4d0e515a7d65dcdb06214ea6ea1aa214b2404b /arch/mips/include/asm/mipsregs.h | |
parent | 19451e51012fa49070252b1b8157460d36618cee (diff) | |
download | op-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/mipsregs.h')
0 files changed, 0 insertions, 0 deletions