MIPS: KVM: Wire up FPU capability
authorJames Hogan <james.hogan@imgtec.com>
Mon, 8 Dec 2014 23:07:56 +0000 (23:07 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 27 Mar 2015 21:25:18 +0000 (21:25 +0000)
commit5fafd8748b366105e08c198892e9fe02ef15c021
treee644c6cb5e4acdb1c1047022cd835d8695fd1028
parent379245cdf1d1efc1eccc38bf0cc985dae232123d
MIPS: KVM: Wire up FPU capability

Now that the code is in place for KVM to support FPU in MIPS KVM guests,
wire up the new KVM_CAP_MIPS_FPU capability.

For backwards compatibility, the capability must be explicitly enabled
in order to detect or make use of the FPU from the guest.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Gleb Natapov <gleb@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Cc: linux-api@vger.kernel.org
Cc: linux-doc@vger.kernel.org
Documentation/virtual/kvm/api.txt
arch/mips/kvm/mips.c
include/uapi/linux/kvm.h