]> 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, 14 Jun 2011 13:43:58 +0000 (14:43 +0100)
commit52a619882fb9c402b5e3f59eda1191fa15156330
tree49b2df63f0b32d96882523b8dd39a812f45fe535
parent7102a679746d68fbd25cc311b7671d77ca8306cc
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