]> Git Repo - linux.git/commit
MIPS: KVM: List FPU/MSA registers
authorJames Hogan <[email protected]>
Wed, 15 Jun 2016 18:29:51 +0000 (19:29 +0100)
committerPaolo Bonzini <[email protected]>
Wed, 15 Jun 2016 21:58:25 +0000 (23:58 +0200)
commite57759306c44ba6105c04eafc3b22efc55bb7ad2
treede4d0e515a7d65dcdb06214ea6ea1aa214b2404b
parent19451e51012fa49070252b1b8157460d36618cee
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 <[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]>
arch/mips/kvm/mips.c
This page took 0.057423 seconds and 4 git commands to generate.