MIPS: KVM: Clean up TLB management hazards
authorJames Hogan <james.hogan@imgtec.com>
Thu, 9 Jun 2016 13:19:15 +0000 (14:19 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Jun 2016 09:02:44 +0000 (11:02 +0200)
commit138f7ad916760a7c263678ce06545a0cfc98bf97
tree7b8cde246a82400d6f8ff0ebe7053cadd238131e
parent878edf014e29de38c49153aba20273fbc9ae31af
MIPS: KVM: Clean up TLB management hazards

KVM's host TLB handling routines were using tlbw hazard barrier macros
around tlb_read(). Now that hazard barrier macros exist for tlbr, update
this case to use them.

Also fix various other unnecessary hazard barriers in this code.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/tlb.c
This page took 0.026567 seconds and 5 git commands to generate.