]> 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)
commit0549fea0c230e8395bcb1203608886cfa6f12743
treef3adc76105a5a675e87d98b841fdbd21c11fe291
parent7b3459fca7567ed2a474e8c227152e6025bd27da
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