aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWeijie Yang <[email protected]>2014-10-24 17:00:34 +0800
committerIngo Molnar <[email protected]>2014-10-28 07:36:50 +0100
commit3c325f8233c35fb35dec3744ba01634aab4ea36a (patch)
tree74acadb935be56eda762d0e41f7c029303d6980e /tools/perf/scripts/python/export-to-postgresql.py
parent26c2d2b39128adba276d140eefa2745591b88536 (diff)
x86, cma: Reserve DMA contiguous area after initmem_init()
Fengguang Wu reported a boot crash on the x86 platform via the 0-day Linux Kernel Performance Test: cma: dma_contiguous_reserve: reserving 31 MiB for global area BUG: Int 6: CR2 (null) [<41850786>] dump_stack+0x16/0x18 [<41d2b1db>] early_idt_handler+0x6b/0x6b [<41072227>] ? __phys_addr+0x2e/0xca [<41d4ee4d>] cma_declare_contiguous+0x3c/0x2d7 [<41d6d359>] dma_contiguous_reserve_area+0x27/0x47 [<41d6d4d1>] dma_contiguous_reserve+0x158/0x163 [<41d33e0f>] setup_arch+0x79b/0xc68 [<41d2b7cf>] start_kernel+0x9c/0x456 [<41d2b2ca>] i386_start_kernel+0x79/0x7d (See details at: https://lkml.org/lkml/2014/10/8/708) It is because dma_contiguous_reserve() is called before initmem_init() in x86, the variable high_memory is not initialized but accessed by __pa(high_memory) in dma_contiguous_reserve(). This patch moves dma_contiguous_reserve() after initmem_init() so that high_memory is initialized before accessed. Reported-by: Fengguang Wu <[email protected]> Signed-off-by: Weijie Yang <[email protected]> Acked-by: Andrew Morton <[email protected]> Acked-by: Marek Szyprowski <[email protected]> Acked-by: Michal Nazarewicz <[email protected]> Cc: [email protected] Cc: 'Linux-MM' <[email protected]> Cc: 'Weijie Yang' <[email protected]> Link: http://lkml.kernel.org/r/000101cfef69%2431e528a0%2495af79e0%24%[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions