]> 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, 10 May 2011 16:48:36 +0000 (17:48 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 9 Aug 2011 14:30:57 +0000 (15:30 +0100)
commit1dfe3cffa14de85dd89efc1e4ffc69ff39741adc
tree5dc4d61429947779e3ff44aa570cc7787f1db24c
parent407f8b4cb07cbc5c1c7cc386f231224e2524ccea
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