summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2017-03-14 10:15:35 +0000
committerJames Hogan <james.hogan@imgtec.com>2017-03-28 14:53:56 +0100
commit4b7de028e66cc499ab85b5003af944225c8c87e9 (patch)
tree3a9d8edcb731d03eaae623dfe8a9a02012a408c3 /init
parentdffe042fd8b2cc174966b929b379503af2c97933 (diff)
downloadlinux-stable-4b7de028e66cc499ab85b5003af944225c8c87e9.tar.gz
linux-stable-4b7de028e66cc499ab85b5003af944225c8c87e9.tar.bz2
linux-stable-4b7de028e66cc499ab85b5003af944225c8c87e9.zip
KVM: MIPS/VZ: Support guest segmentation control
Add support for VZ guest CP0_SegCtl0, CP0_SegCtl1, and CP0_SegCtl2 registers, as found on P5600 and P6600 cores. These guest registers need initialising, context switching, and exposing via the KVM ioctl API when they are present. They also require the GVA -> GPA translation code for handling a GVA root exception to be updated to interpret the segmentation registers and decode the faulting instruction enough to detect EVA memory access instructions. 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: Jonathan Corbet <corbet@lwn.net> Cc: linux-mips@linux-mips.org Cc: kvm@vger.kernel.org Cc: linux-doc@vger.kernel.org
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions