ARM: LPAE: Invalidate the TLB before freeing the PMD
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 22 Nov 2011 17:30:29 +0000 (17:30 +0000)
committerGrazvydas Ignotas <notasas@gmail.com>
Wed, 20 Feb 2013 21:19:22 +0000 (23:19 +0200)
commitf88ed644e30663bbae3cc1aa310f0c40791c1f89
tree7cdf1daf0e3c4fb5929c463c2776942d62ca483b
parent1eeaf0ca67f649f09fddb1c51d5613dc5a769646
ARM: LPAE: Invalidate the TLB before freeing the PMD

Similar to the PTE freeing, this patch introduced __pmd_free_tlb() which
invalidates the TLB before freeing a PMD page. This is needed because on
newer processors the entry in the upper page table may be cached by the
TLB and point to random data after the PMD has been freed.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/include/asm/tlb.h