• James Hogan's avatar
    KVM: MIPS/MMU: Convert TLB mapped faults to page tables · 7e3d2a75
    James Hogan authored
    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: default avatarJames 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
    7e3d2a75
emulate.c 72 KB