]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 2 Dec 2011 16:11:21 +0000 (16:11 +0000)
commita10ddd7d80c3b20f8d83260f93aecb7a941874a6
treed0619168386c7f8239cb76a1ccf1caf657eb3bb9
parent5699dac77ff97a814cacbaa9044590bb882517b3
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