[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <6f480b6010068872f429df69c8894cc3f1f38f46.1645795048.git.michal.simek@xilinx.com>
Date: Fri, 25 Feb 2022 14:17:30 +0100
From: Michal Simek <michal.simek@...inx.com>
To: linux-kernel@...r.kernel.org, monstr@...str.eu,
michal.simek@...inx.com, git@...inx.com
Cc: Andrew Morton <akpm@...ux-foundation.org>,
David Hildenbrand <david@...hat.com>,
Kefeng Wang <wangkefeng.wang@...wei.com>,
Mike Rapoport <rppt@...nel.org>,
Russell King <rmk+kernel@...linux.org.uk>
Subject: [PATCH 1/2] 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@...inx.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
Powered by blists - more mailing lists