]> 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, 20 Sep 2011 13:17:41 +0000 (14:17 +0100)
commitc36a393cd8b25c79a14f37b4f05c742f19af430b
treeac1e44165e7be9901ba496ff7bd0c08822bdb48f
parentde66ddbf6f07e7e4bf9db55faf05969d9499d77f
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