diff options
author | Steve Capper <steve.capper@linaro.org> | 2013-04-19 15:49:31 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2013-04-25 17:45:52 +0100 |
commit | 4339e3f389081ea90e230a785bdbe10eccd02b71 (patch) | |
tree | cce5405ebcbdf63dd88da82e94b31afb606293a2 /arch/arm64/mm/flush.c | |
parent | f15a2a12d01573fcf9d2beb657f308845d55fc66 (diff) | |
download | op-kernel-dev-4339e3f389081ea90e230a785bdbe10eccd02b71.zip op-kernel-dev-4339e3f389081ea90e230a785bdbe10eccd02b71.tar.gz |
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 <steve.capper@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm/flush.c')
0 files changed, 0 insertions, 0 deletions