]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb84e03aa69399324ee1e50ef0d8b329cea519c70
tree34a878c2607d1681ea2e4406f658dfc7f2eff7bc
parent0534dc0e388d8bfc8387731b461f8e95054cb8ca
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