]> 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, 8 Nov 2011 10:26:20 +0000 (10:26 +0000)
commitf3a0593e0061c7baa527cb6cb09d4a3467294dc9
tree5e92f2d8817fe73618559b3db4478c6d603f3781
parentccc6c2b13b8f41199f87566ee27e80a9d9ae1677
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