summaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/regulator.tmpl
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2014-12-02 16:48:24 +0100
committerJames Hogan <james.hogan@imgtec.com>2015-03-27 22:25:21 +0100
commitab86bd600400357ffa0dfdb1797f587476d01352 (patch)
tree265d24436dc03ac0e1ff2fa3a1652feb3346b6ff /Documentation/DocBook/regulator.tmpl
parentMIPS: KVM: Add MSA exception handling (diff)
downloadlinux-ab86bd600400357ffa0dfdb1797f587476d01352.tar.xz
linux-ab86bd600400357ffa0dfdb1797f587476d01352.zip
MIPS: KVM: Expose MSA registers
Add KVM register numbers for the MIPS SIMD Architecture (MSA) registers, and implement access to them with the KVM_GET_ONE_REG / KVM_SET_ONE_REG ioctls when the MSA capability is enabled (exposed in a later patch) and present in the guest according to its Config3.MSAP bit. The MSA vector registers use the same register numbers as the FPU registers except with a different size (128bits). Since MSA depends on Status.FR=1, these registers are inaccessible when Status.FR=0. These registers are returned as a single native endian 128bit value, rather than least significant half first with each 64-bit half native endian as the kernel uses internally. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Paul Burton <paul.burton@imgtec.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
Diffstat (limited to 'Documentation/DocBook/regulator.tmpl')
0 files changed, 0 insertions, 0 deletions