KVM: MIPS/T&E: Activate GVA page tables in guest context
authorJames Hogan <[email protected]>
Fri, 7 Oct 2016 22:58:53 +0000 (23:58 +0100)
committerJames Hogan <[email protected]>
Fri, 3 Feb 2017 15:20:51 +0000 (15:20 +0000)
commit7faa6eec6991715d6c1d85c192738dcac405ab89
treeff60812dff7d786f1d74d03bdfdc681a3aeb3a09
parentf7f1427dc0c67e21ba9ec2200b7c8853535b3842
KVM: MIPS/T&E: Activate GVA page tables in guest context

Activate the GVA page tables when in guest context. This will allow the
normal Linux TLB refill handler to fill from it when guest memory is
read, as well as preventing accidental reading from user memory.

Signed-off-by: James Hogan <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: "Radim Krčmář" <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: [email protected]
Cc: [email protected]
arch/mips/include/asm/mmu_context.h
arch/mips/kvm/entry.c
arch/mips/kvm/trap_emul.c