kernel-hacking-2024-linux-s.../arch/x86/mm
Thomas Gleixner d8b57bb700 x86: make spurious fault handler aware of large mappings
In very rare cases, on certain CPUs, we could end up in the spurious
fault handler and ignore a large pud/pmd mapping. The resulting pte
pointer points into the mapped physical space and dereferencing it
will fault recursively.

Make the code aware of large mappings and do the permission check
on the pmd/pud entry, when a large pud/pmd mapping is detected.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-02-06 22:39:43 +01:00
..
discontig_32.c x86: make NUMA work on 32-bit 2008-01-30 13:33:25 +01:00
extable.c x86: unify extable_{32|64}.c 2008-01-30 13:31:41 +01:00
fault.c x86: make spurious fault handler aware of large mappings 2008-02-06 22:39:43 +01:00
highmem_32.c x86: kmap_atomic() debugging 2008-01-30 13:30:47 +01:00
hugetlbpage.c x86: demacro asm-x86/pgalloc_32.h 2008-01-30 13:33:39 +01:00
init_32.c x86: use _ASM_EXTABLE macro in arch/x86/mm/init_32.c 2008-02-04 16:47:58 +01:00
init_64.c x86: switch direct mapping setup over to set_pte 2008-02-04 16:48:09 +01:00
ioremap.c x86: no CPA on iounmap 2008-02-04 16:48:05 +01:00
k8topology_64.c x86: add PCI IDs to k8topology_64.c 2008-01-30 13:34:12 +01:00
Makefile
Makefile_32 x86: unify fault_32|64.c 2008-01-30 13:34:11 +01:00
Makefile_64 x86: unify fault_32|64.c 2008-01-30 13:34:11 +01:00
mmap.c x86: unify mmap_{32|64}.c 2008-01-30 13:31:10 +01:00
numa_64.c x86: print out node_data addr and bootmap_start addr 2008-02-04 16:47:56 +01:00
pageattr-test.c x86: cpa selftest, skip non present entries 2008-02-04 16:48:08 +01:00
pageattr.c stop c_p_a corrupting the pds 2008-02-05 14:37:14 -08:00
pgtable_32.c add mm argument to pte/pmd/pud/pgd_free 2008-02-05 09:44:18 -08:00
srat_64.c x86: fix section mismatch warning in srat_64.c 2008-01-30 13:33:37 +01:00