]> www.infradead.org Git - users/hch/configfs.git/commit
RISC-V: ACPI: NUMA: initialize all values of acpi_early_node_map to NUMA_NO_NODE
authorHaibo Xu <haibo1.xu@intel.com>
Mon, 5 Aug 2024 03:30:23 +0000 (11:30 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 14 Aug 2024 20:12:41 +0000 (13:12 -0700)
commita445699879f989f6700df81f497b70bf94cc6163
tree0a6d2481eb8ce3f792cd2dd55d92253708f56f22
parent57d76bc51fd80824bcc0c84a5b5ec944f1b51edd
RISC-V: ACPI: NUMA: initialize all values of acpi_early_node_map to NUMA_NO_NODE

Currently, only acpi_early_node_map[0] was initialized to NUMA_NO_NODE.
To ensure all the values were properly initialized, switch to initialize
all of them to NUMA_NO_NODE.

Fixes: eabd9db64ea8 ("ACPI: RISCV: Add NUMA support based on SRAT and SLIT")
Reported-by: Andrew Jones <ajones@ventanamicro.com>
Suggested-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Haibo Xu <haibo1.xu@intel.com>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
Link: https://lore.kernel.org/r/0d362a8ae50558b95685da4c821b2ae9e8cf78be.1722828421.git.haibo1.xu@intel.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/acpi_numa.c