Skip to content

Commit

Permalink
microblaze: Wire memblock_dump_all()
Browse files Browse the repository at this point in the history
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 <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/6f480b6010068872f429df69c8894cc3f1f38f46.1645795048.git.michal.simek@xilinx.com
  • Loading branch information
Michal Simek committed Apr 21, 2022
1 parent 61a4e65 commit e4c70fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/microblaze/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ asmlinkage void __init mmu_init(void)

/* CMA initialization */
dma_contiguous_reserve(memory_start + lowmem_size - 1);

memblock_dump_all();
}

void * __ref zalloc_maybe_bootmem(size_t size, gfp_t mask)
Expand Down

0 comments on commit e4c70fc

Please sign in to comment.