Skip to content

Commit e4c70fc

Browse files
author
Michal Simek
committed
microblaze: Wire memblock_dump_all()
Wire memblock_dump_all() to be able to see the whole memblock allocation. Dumps are enabled by passing memblock=debug via kernel command line. Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/6f480b6010068872f429df69c8894cc3f1f38f46.1645795048.git.michal.simek@xilinx.com
1 parent 61a4e65 commit e4c70fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/microblaze/mm/init.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ asmlinkage void __init mmu_init(void)
263263

264264
/* CMA initialization */
265265
dma_contiguous_reserve(memory_start + lowmem_size - 1);
266+
267+
memblock_dump_all();
266268
}
267269

268270
void * __ref zalloc_maybe_bootmem(size_t size, gfp_t mask)

0 commit comments

Comments
 (0)