Messages in this thread | | | From | Paul Burton <> | Subject | Re: [PATCH v2 5/5] mips: Manually call fdt_init_reserved_mem() method | Date | Mon, 6 May 2019 19:12:04 +0000 |
| |
Hello,
Serge Semin wrote: > Since memblock-patchset was introduced the reserved-memory nodes are > supported being declared in dt-files. So these nodes are actually parsed > during the arch setup procedure when the early_init_fdt_scan_reserved_mem() > method is called. But due to the arch-specific boot mem_map container > utilization we need to manually call the fdt_init_reserved_mem() method > after all the available and reserved memory has been moved to memblock. > The first function call performed before bootmem_init() by the > early_init_fdt_scan_reserved_mem() routine fails due to the lack of any > memblock memory regions to allocate from at that stage. > > Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Applied to mips-next.
Thanks, Paul
[ This message was auto-generated; if you believe anything is incorrect then please email paul.burton@mips.com to report it. ]
| |