Re: [PATCH 02/13] csky: move setup_initrd() to setup.c

2025-03-09 Thread Guo Ren
Move setup_initrd from mem_init into memblock_init, that LGTM. Acked by: Guo Ren (csky) On Fri, Mar 7, 2025 at 2:52 AM Mike Rapoport wrote: > > From: "Mike Rapoport (Microsoft)" > > Memory used by initrd should be reserved as soon as possible before > there any memblock allocations that might

[PATCH 02/13] csky: move setup_initrd() to setup.c

2025-03-06 Thread Mike Rapoport
From: "Mike Rapoport (Microsoft)" Memory used by initrd should be reserved as soon as possible before there any memblock allocations that might overwrite that memory. This will also help with pulling out memblock_free_all() to the generic code and reducing code duplication in arch::mem_init().