Re: [RFC v3 3/3] fadump: Move fadump_cma_init to setup_arch() after initmem_init()

2024-10-15 Thread Madhavan Srinivasan
On 10/11/24 8:30 PM, Ritesh Harjani (IBM) wrote: > During early init CMA_MIN_ALIGNMENT_BYTES can be PAGE_SIZE, > since pageblock_order is still zero and it gets initialized > later during initmem_init() e.g. > setup_arch() -> initmem_init() -> sparse_init() -> set_pageblock_order() > > One such

[RFC v3 3/3] fadump: Move fadump_cma_init to setup_arch() after initmem_init()

2024-10-11 Thread Ritesh Harjani (IBM)
During early init CMA_MIN_ALIGNMENT_BYTES can be PAGE_SIZE, since pageblock_order is still zero and it gets initialized later during initmem_init() e.g. setup_arch() -> initmem_init() -> sparse_init() -> set_pageblock_order() One such use case where this causes issues is - early_setup() -> early_i