summaryrefslogtreecommitdiff
path: root/arch/mips/kvm/emulate.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2016-07-04 18:35:11 (GMT)
committerPaolo Bonzini <pbonzini@redhat.com>2016-07-05 14:09:14 (GMT)
commit70e92c7ee94094d2db8bfe225a8c9b1bde89c26d (patch)
treebe4f2ba4705ed81862392378fb220d6d0b840fd1 /arch/mips/kvm/emulate.c
parentd85ebff0073c783f0c74dc0e08c348f6f2d807c7 (diff)
downloadlinux-70e92c7ee94094d2db8bfe225a8c9b1bde89c26d.tar.xz
MIPS: KVM: Don't save/restore lo/hi for r6
MIPSr6 doesn't have lo/hi registers, so don't bother saving or restoring them, and don't expose them to userland with the KVM ioctl interface either. In fact the lo/hi registers aren't callee saved in the MIPS ABIs anyway, so there is no need to preserve the host lo/hi values at all when transitioning to and from the guest (which happens via a function call). 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/kvm/emulate.c')
0 files changed, 0 insertions, 0 deletions