KVM: MIPS: Implement VZ support
authorJames Hogan <james.hogan@imgtec.com>
Tue, 14 Mar 2017 10:15:31 +0000 (10:15 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Tue, 28 Mar 2017 13:53:54 +0000 (14:53 +0100)
commitc992a4f6a9b0a37c8bd7dfc727ecc3fed125c16b
tree6dcea7ddf4260afce87b4fddf288b42683aa80ca
parentea1bdbf683e6a12bd60204d245053bca0b52185c
KVM: MIPS: Implement VZ support

Add the main support for the MIPS Virtualization ASE (A.K.A. VZ) to MIPS
KVM. The bulk of this work is in vz.c, with various new state and
definitions elsewhere.

Enough is implemented to be able to run on a minimal VZ core. Further
patches will fill out support for guest features which are optional or
can be disabled.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Radim Krčmář" <rkrcmar@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Cc: linux-doc@vger.kernel.org
Documentation/virtual/kvm/api.txt
arch/mips/include/asm/cpu-info.h
arch/mips/include/asm/kvm_host.h
arch/mips/kernel/time.c
arch/mips/kvm/interrupt.h
arch/mips/kvm/mips.c
arch/mips/kvm/mmu.c
arch/mips/kvm/tlb.c
arch/mips/kvm/trace.h
arch/mips/kvm/vz.c [new file with mode: 0644]