KVM: MIPS: Emulate MMIO via TLB miss for EVA
authorJames Hogan <james.hogan@imgtec.com>
Fri, 19 Aug 2016 14:09:47 +0000 (15:09 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Thu, 8 Sep 2016 17:29:54 +0000 (18:29 +0100)
commitd5888477d31c64dba9264fbb33cfa9b066f071d0
treefdc2e5eb025f4f977b78f78ef4e76e786781886d
parentf6f7017192ad62669dc8aa4cb33e5f5a0ecd2d81
KVM: MIPS: Emulate MMIO via TLB miss for EVA

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: 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/trap_emul.c
This page took 0.027004 seconds and 5 git commands to generate.