]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba505d4de366471a6b77da9365d1d2f8b909a81b
treef9abc60b91e438386ca425eac068a5575e4bd3c0
parentae8c9c04b4fdabe7ab320362f8eaeeef6fe6cb69
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