• James Hogan's avatar
    KVM: MIPS: Emulate MMIO via TLB miss for EVA · d5888477
    James Hogan authored
    MIPS Enhanced Virtual Addressing (EVA) allows the virtual memory
    segments to be rearranged such that the KSeg0/KSeg1 segments are
    accessible TLB mapped to user mode, which would trigger a TLB Miss
    exception (due to lack of TLB mappings) instead of an Address Error
    exception.
    
    Update the TLB Miss handling similar to Address Error handling for guest
    MMIO emulation.
    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
    d5888477
trap_emul.c 18.7 KB