]> 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>
Mon, 14 Nov 2011 14:12:43 +0000 (14:12 +0000)
commitb69cd012ada4b3bfad2023de9cd594aa310d5cf0
tree36397729ebfd5938cd2248fd0bfe9a9f972c91e7
parentc93acefd3006098391806cd17ec7fba1705ff9d0
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