Re: [PATCH 2/3] openrisc: Call setup_memory() earlier in the init sequence

2024-03-08 Thread Stafford Horne
On Fri, Feb 09, 2024 at 04:29:30PM -0800, Oreoluwa Babatunde wrote: > The unflatten_and_copy_device_tree() function contains a call to > memblock_alloc(). This means that memblock is allocating memory before > any of the reserved memory regions are set aside in the setup_memory() > function which

[PATCH 2/3] openrisc: Call setup_memory() earlier in the init sequence

2024-02-09 Thread Oreoluwa Babatunde
The unflatten_and_copy_device_tree() function contains a call to memblock_alloc(). This means that memblock is allocating memory before any of the reserved memory regions are set aside in the setup_memory() function which calls early_init_fdt_scan_reserved_mem(). Therefore, there is a possibility