lkml.org 
[lkml]   [2022]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/2] microblaze: Wire memblock_dump_all()
Date
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>
---

arch/microblaze/mm/init.c | 2 ++
1 file changed, 2 insertions(+)

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)
--
2.35.1
\
 
 \ /
  Last update: 2022-02-25 14:18    [W:0.048 / U:1.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site