]> asedeno.scripts.mit.edu Git - linux.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)
commit654229a02456a9af372defb13d1911345360074d
treef3adc76105a5a675e87d98b841fdbd21c11fe291
parent230c57244c2c4d945dba7f9d15845bffe4135b58
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