• James Hogan's avatar
    MIPS: KVM: Propagate kseg0/mapped tlb fault errors · 9b731bcf
    James Hogan authored
    Propagate errors from kvm_mips_handle_kseg0_tlb_fault() and
    kvm_mips_handle_mapped_seg_tlb_fault(), usually triggering an internal
    error since they normally indicate the guest accessed bad physical
    memory or the commpage in an unexpected way.
    
    Fixes: 858dd5d4 ("KVM/MIPS32: MMU/TLB operations for the Guest.")
    Fixes: e685c689 ("KVM/MIPS32: Privileged instruction/target branch 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
    Cc: <stable@vger.kernel.org> # 3.10.x-
    Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
    9b731bcf
mmu.c 10.7 KB