]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: KVM: be more thorough when invalidating TLBs
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 14 May 2013 11:11:34 +0000 (12:11 +0100)
committerChristoffer Dall <cdall@cs.columbia.edu>
Tue, 28 May 2013 02:35:29 +0000 (19:35 -0700)
commitfe3a6c315ad7aeb29d5d33b44f8cffab8b17b4d4
tree867dd1cbe30bd9558b019e34dd357ef95f6151eb
parent510995675615434fef10f7301e3ad3bffd66ed42
ARM: KVM: be more thorough when invalidating TLBs

The KVM/ARM MMU code doesn't take care of invalidating TLBs before
freeing a {pte,pmd} table. This could cause problems if the page
is reallocated and then speculated into by another CPU.

Reported-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
arch/arm/kvm/mmu.c