KVM: MIPS/MMU: Use lockless GVA helpers for get_inst()
authorJames Hogan <james.hogan@imgtec.com>
Mon, 28 Nov 2016 23:15:53 +0000 (23:15 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 3 Feb 2017 15:21:13 +0000 (15:21 +0000)
commit5207ce144a25aef89dd12b8fc3ccaa53aba4f2bd
tree34a878c2607d1681ea2e4406f658dfc7f2eff7bc
parent4b21e8abf959ca66c27f0656bf294fe69d3f2254
KVM: MIPS/MMU: Use lockless GVA helpers for get_inst()

Use the lockless GVA helpers to implement the reading of guest
instructions for emulation. This will allow it to handle asynchronous
TLB flushes when they are implemented.

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/mmu.c