2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 19:23:57 +08:00
linux-next/arch/arm64/mm
Steve Capper 4339e3f389 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>
2013-04-25 17:45:52 +01:00
..
cache.S arm64: Cache maintenance routines 2012-09-17 13:42:00 +01:00
context.c arm64: Process management 2012-09-17 13:41:58 +01:00
copypage.c arm64: MMU fault handling and page table management 2012-09-17 13:41:57 +01:00
dma-mapping.c arm64: Call swiotlb_init() instead of swiotlb_init_with_default_size() 2012-10-08 16:02:09 +01:00
extable.c arm64: MMU fault handling and page table management 2012-09-17 13:41:57 +01:00
fault.c arm64: mm: Correct show_pte behaviour 2013-04-25 17:45:52 +01:00
flush.c arm64: Convert empty flush_cache_{mm,page} functions to static inline 2012-11-23 18:15:32 +00:00
init.c arm64: mm: update max_dma32 before calculating size of NORMAL zone 2012-11-14 09:54:15 +00:00
ioremap.c arm64: Device specific operations 2012-09-17 13:42:04 +01:00
Makefile arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
mm.h arm64: Call swiotlb_init() instead of swiotlb_init_with_default_size() 2012-10-08 16:02:09 +01:00
mmap.c arm64: MMU fault handling and page table management 2012-09-17 13:41:57 +01:00
mmu.c memory-hotplug: remove memmap of sparse-vmemmap 2013-02-23 17:50:12 -08:00
pgd.c arm64: MMU fault handling and page table management 2012-09-17 13:41:57 +01:00
proc-macros.S arm64: Assembly macros and definitions 2012-09-17 10:24:44 +01:00
proc.S arm64: Do not set the SMP/nAMP processor bit 2012-09-24 18:10:29 +01:00
tlb.S arm64: TLB maintenance functionality 2012-09-17 13:42:01 +01:00