MIPS: KVM: Use host CCA for TLB mappings
authorJames Hogan <james.hogan@imgtec.com>
Wed, 15 Jun 2016 18:29:58 +0000 (19:29 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Jun 2016 21:58:37 +0000 (23:58 +0200)
commit7414d2f65006ac8609196092f2869e0942599b72
treeded5f615069c23c970bd05563cd690330e37eee9
parent42aa12e74e91f790d239bfb852260d07573ce83f
MIPS: KVM: Use host CCA for TLB mappings

KVM TLB mappings for the guest were being created with a cache coherency
attribute (CCA) of 3, which is cached incoherent. Create them instead
with the default host CCA, which should be the correct one for coherency
on SMP systems.

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
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/mmu.c
arch/mips/kvm/tlb.c