Loading
arm64: ACPI: NUMA: initialize all values of acpi_early_node_map to NUMA_NO_NODE
stable inclusion from stable-v4.19.321 commit 2fbc3c6736cb0a1c2738664bf9381d0c96fb7a06 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAYQRI CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2fbc3c6736cb0a1c2738664bf9381d0c96fb7a06 -------------------------------- commit a21dcf0ea8566ebbe011c79d6ed08cdfea771de3 upstream. 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: e1896249 ("arm64: numa: rework ACPI NUMA initialization") Cc: <stable@vger.kernel.org> # 4.19.x 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:
Anshuman Khandual <anshuman.khandual@arm.com> Reviewed-by:
Sunil V L <sunilvl@ventanamicro.com> Reviewed-by:
Andrew Jones <ajones@ventanamicro.com> Acked-by:
Catalin Marinas <catalin.marinas@arm.com> Acked-by:
Lorenzo Pieralisi <lpieralisi@kernel.org> Reviewed-by:
Hanjun Guo <guohanjun@huawei.com> Link: https://lore.kernel.org/r/853d7f74aa243f6f5999e203246f0d1ae92d2b61.1722828421.git.haibo1.xu@intel.com Signed-off-by:
Catalin Marinas <catalin.marinas@arm.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Xiongfeng Wang <wangxiongfeng2@huawei.com>