KVM: MIPS/MMU: Convert KSeg0 faults to page tables
authorJames Hogan <james.hogan@imgtec.com>
Thu, 5 Jan 2017 10:44:38 +0000 (10:44 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 3 Feb 2017 15:20:57 +0000 (15:20 +0000)
commitfb99589391a9ed2e505dc7c3d02651a1a7b9f72b
treef9abc60b91e438386ca425eac068a5575e4bd3c0
parentaba8592950f1c698bb9c1b42d4f4dab07a145674
KVM: MIPS/MMU: Convert KSeg0 faults to page tables

Now that we have GVA page tables and an optimised TLB refill handler in
place, convert the handling of KSeg0 page faults from the guest to fill
the GVA page tables and invalidate the TLB entry, rather than filling a
TLB entry directly.

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/kvm/mmu.c