From: Steve Capper Date: Fri, 19 Apr 2013 14:49:31 +0000 (+0100) Subject: arm64: mm: Correct show_pte behaviour X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~100^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4339e3f389081ea90e230a785bdbe10eccd02b71;p=pandora-kernel.git arm64: mm: Correct show_pte behaviour show_pte makes use of the *_none_or_clear_bad style functions. If a pgd, pud or pmd is identified as being bad, it will then be cleared. As show_pte appears to be called from either the user or kernel fault handlers this side effect can lead to unpredictable behaviour; especially as TLB entries are not invalidated. This patch removes the page table sanitisation from show_pte. If a bad pgd, pud or pmd is encountered it is left unmodified. Signed-off-by: Steve Capper Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed