]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4de30c14a5bacd88196d96738a9493be2dec0b02
treeded5f615069c23c970bd05563cd690330e37eee9
parent75dd233ab81230568bbe5524f86b6d2554431d65
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