summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2022-02-25 14:17:30 +0100
committerMichal Simek <michal.simek@xilinx.com>2022-04-21 10:54:57 +0200
commite4c70fc695667d115e050470375b315685ab069c (patch)
treeecf8d62f41c325606cda6eca83e4385ccbe03d96 /arch
parent61a4e653cabd7d9e4a9e940d0786532725e73c0d (diff)
downloadlinux-e4c70fc695667d115e050470375b315685ab069c.tar.gz
linux-e4c70fc695667d115e050470375b315685ab069c.tar.bz2
linux-e4c70fc695667d115e050470375b315685ab069c.zip
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 <michal.simek@xilinx.com> Link: https://lore.kernel.org/r/6f480b6010068872f429df69c8894cc3f1f38f46.1645795048.git.michal.simek@xilinx.com
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/mm/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c
index 952f35b335b2..de0d8b03af21 100644
--- a/arch/microblaze/mm/init.c
+++ b/arch/microblaze/mm/init.c
@@ -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)