linux/arch/x86/mm
Thomas Gleixner e3100c82ab x86: check physical address range in ioremap
Roland Dreier reported in http://lkml.org/lkml/2008/2/27/194

[ 8425.915139] BUG: unable to handle kernel paging request at ffffc20001a0a000
[ 8425.919087] IP: [<ffffffff8021dacc>] clflush_cache_range+0xc/0x25
[ 8425.919087] PGD 1bf80e067 PUD 1bf80f067 PMD 1bb497067 PTE 80000047000ee17b

This is on a Intel machine with 36bit physical address space. The PTE
entry references 47000ee000, which is outside of it.

Add a check for the physical address space and warn/printk about the
stupid caller.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-04-17 17:40:51 +02:00
..
discontig_32.c x86: fix trim mtrr not to setup_memory two times 2008-03-26 22:23:41 +01:00
dump_pagetables.c x86: clean up the page table dumper and add 32-bit support 2008-04-17 17:40:45 +02:00
extable.c x86: unify extable_{32|64}.c 2008-01-30 13:31:41 +01:00
fault.c x86: check vmlinux limits, 64-bit 2008-04-17 17:40:45 +02:00
highmem_32.c Avoid false positive warnings in kmap_atomic_prot() with DEBUG_HIGHMEM 2008-03-28 13:08:14 -07:00
hugetlbpage.c x86: stricter check in follow_huge_addr() 2008-03-27 16:08:45 +01:00
init_32.c x86: include proper prototypes for rodata_test 2008-02-14 23:30:20 +01:00
init_64.c x86: do kernel direct mapping at boot using GB pages 2008-04-17 17:40:45 +02:00
ioremap.c x86: check physical address range in ioremap 2008-04-17 17:40:51 +02:00
k8topology_64.c x86: add PCI IDs to k8topology_64.c 2008-01-30 13:34:12 +01:00
Makefile x86: clean up the page table dumper and add 32-bit support 2008-04-17 17:40:45 +02:00
mmap.c x86: unify mmap_{32|64}.c 2008-01-30 13:31:10 +01:00
numa_64.c x86: remove never used nodenumer in pda 2008-04-17 17:40:47 +02:00
pageattr-test.c x86: remove over noisy debug printk 2008-02-11 11:24:24 -08:00
pageattr.c x86: add debug info to DEBUG_PAGEALLOC 2008-04-17 17:40:45 +02:00
pgtable_32.c x86: remove quicklists 2008-03-11 17:11:55 +01:00
srat_64.c x86: get apic_id later in acpi_numa_processor_affinity_init 2008-04-17 17:40:47 +02:00