On Mon, Dec 04, 2023 at 10:54:05AM -0800, Oreoluwa Babatunde wrote: > Switch call to unflatten_device_tree() to after paging_init() on other > archs to follow new order in which the reserved_mem regions are > processed. You did this so that you could allocate memory for the reserved regions. But unflatten_device_tree() can already do allocations using memblock. So the same thing should work for you. I suspect that moving this will break any arch that called an of_* API between the original call and the new call location. Rob