Re: [PATCH] MIPS: Loongson64: Fix boot failure after dropping boot_mem_map

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Huacai Chen wrote:
> From a94e4f24ec836c8984f839594 ("MIPS: init: Drop boot_mem_map"),
> add_memory_region() is handled by memblock_add()/memblock_reserve()
> directly and all bootmem API should be converted to memblock API.
> Otherwise it will lead to boot failure, especially in the NUMA case
> because add_memory_region lose the node_id information.

Applied to mips-fixes.

> commit 2b6509f42dc6
> https://git.kernel.org/mips/c/2b6509f42dc6
> 
> Fixes: a94e4f24ec836c8984f83959 ("MIPS: init: Drop boot_mem_map")
> Signed-off-by: Huacai Chen <chenhc@xxxxxxxxxx>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>
> [paul.burton@xxxxxxxx:
>   - Invert node_id check to de-indent the switch statement & avoid lines
>     over 80 characters.
>   - Fixup commit reference in commit message.]
> Signed-off-by: Paul Burton <paul.burton@xxxxxxxx>

Thanks,
    Paul

[ This message was auto-generated; if you believe anything is incorrect
  then please email paul.burton@xxxxxxxx to report it. ]


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux