KVM: MIPS: Add fast path TLB refill handler
authorJames Hogan <james.hogan@imgtec.com>
Sat, 10 Sep 2016 22:56:46 +0000 (23:56 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 3 Feb 2017 15:20:53 +0000 (15:20 +0000)
commita7cfa7ac1236937dac431845596a39ba27364a00
tree38a785ddc708a46158c709f726eac63dbe2f0a00
parent29b500b54ef379f1f3227b633dd477a4dd3cd62b
KVM: MIPS: Add fast path TLB refill handler

Use functions from the general MIPS TLB exception vector generation code
(tlbex.c) to construct a fast path TLB refill handler similar to the
general one, but cut down and capable of preserving K0 and K1.

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/entry.c
arch/mips/kvm/mips.c