diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2024-06-03 15:45:53 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2024-06-03 15:45:53 +0800 |
commit | 3de9c42d02a79a5e09bbee7a4421ddc00cfd5c6d (patch) | |
tree | dbf4975146ba93d65b3cfeb885430a94a1721c19 /drivers/firmware | |
parent | b56f67a6c748bb009f313f91651c8020d2338d63 (diff) |
LoongArch: Add all CPUs enabled by fdt to NUMA node 0
NUMA enabled kernel on FDT based machine fails to boot because CPUs
are all in NUMA_NO_NODE and mm subsystem won't accept that.
Fix by adding them to default NUMA node at FDT parsing phase and move
numa_add_cpu(0) to a later point.
Cc: stable@vger.kernel.org
Fixes: 88d4d957edc7 ("LoongArch: Add FDT booting support from efi system table")
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions