]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MIPS/MMU: Convert TLB mapped faults to page tables
authorJames Hogan <james.hogan@imgtec.com>
Sat, 8 Oct 2016 00:15:19 +0000 (01:15 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 3 Feb 2017 15:20:58 +0000 (15:20 +0000)
commit2b069bc70e3c1308420535dabada80192e9e491d
tree615c2276a5a7a60fedc31bc5d80a59fb0244ef78
parent32518baa38ee421c3af83e1a288a6463b5e8a66c
KVM: MIPS/MMU: Convert TLB mapped faults to page tables

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

Also remove the now unused kvm_mips_get_{kernel,user}_asid() functions
in mmu.c and kvm_mips_host_tlb_write() in tlb.c.

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