]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MIPS/T&E: Move CP0 register access into T&E
authorJames Hogan <james.hogan@imgtec.com>
Thu, 8 Dec 2016 22:46:41 +0000 (22:46 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 3 Feb 2017 15:21:30 +0000 (15:21 +0000)
commitb322b0d317abfbb177739971842df9471e2a1d66
treef3adc76105a5a675e87d98b841fdbd21c11fe291
parentd397967c2ea89ea29fb23e7bb8f4676b627b1e5b
KVM: MIPS/T&E: Move CP0 register access into T&E

Access to various CP0 registers via the KVM register access API needs to
be implementation specific to allow restrictions to be made on changes,
for example when VZ guest registers aren't present, so move them all
into trap_emul.c in preparation for VZ.

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
arch/mips/include/asm/kvm_host.h
arch/mips/kvm/emulate.c
arch/mips/kvm/mips.c
arch/mips/kvm/trap_emul.c