On Sat, Jan 27, 2024 at 05:12:21PM +0800, Huang Pei wrote: > Commit 61167ad5fecd("mm: pass nid to reserve_bootmem_region()") reveals > that reserved memblock regions have no valid node id set, just set it > right since loongson64 firmware makes it clear in memory layout info. > > This works around booting failure on 3A1000+ since commit 61167ad5fecd > ("mm: pass nid to reserve_bootmem_region()") under > CONFIG_DEFERRED_STRUCT_PAGE_INIT. > > Signed-off-by: Huang Pei <huangpei@xxxxxxxxxxx> > --- > arch/mips/loongson64/init.c | 3 +++ > arch/mips/loongson64/numa.c | 2 ++ > 2 files changed, 5 insertions(+) I would've needed a patch just fixing the one line since the broken commit is already in mips-fixes, which is a public tree so no rebasing. I'm going to revert the old commit instead and add the new one, BTW. please send new patches as it's own thread and not as a reply. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]