From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B7AC91C93B0; Tue, 27 Aug 2024 15:03:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724771025; cv=none; b=QZC9gL63a3hB4EMB+h0hLmpWMGW/nWOYarZjV5LxyVLYhsQkcWL3e8/mmxz4F1s0hiBAh2O9DlcooQ252axQ5EQdKNzyE6qPz9Q4cBYECUhGXnUvvHZUZ68Kwouvd9PguaG0sMR3XO29koXmARNljmfMGCk6phxlBsVp3BR1zmY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724771025; c=relaxed/simple; bh=zfboCzud2JIJwiSUFF9MRY6MzlkEZG8ZCQIdws1gOjI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=BusN20heIgXf2bfyfp0nTumkMfTaO93Y941dBXxDadQWY/qqSszJcDsCW12E4ZKFBMjbfU+wPyLsioiIZcyfllIt4tEvm1dUqM956MtX0yvAnKrsoQ7sBbdzECefk64HvMpgU6eQ1qhoQoMbD2KI9Qo683GKD+igp7nuYlocaYw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0gZ9U4bv; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0gZ9U4bv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3C46C61055; Tue, 27 Aug 2024 15:03:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1724771025; bh=zfboCzud2JIJwiSUFF9MRY6MzlkEZG8ZCQIdws1gOjI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0gZ9U4bvDKE2nxv+FJHBGokRz+xMbTgXihG4DYrTde0nFPITMYfhwknvlbAtdxZWS GEJP4bg0TGmX3c4rTZvdpJnqa2aVnqSQG4tryRa0bP2BNl69q3y+ab3yRYDfxwaKmr 90B083fAGSc+MaaABnTbHnxSgtktGtZaMIvExnPE= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Andrew Jones , Haibo Xu , Anshuman Khandual , Sunil V L , Catalin Marinas , Lorenzo Pieralisi , Hanjun Guo Subject: [PATCH 6.10 033/273] arm64: ACPI: NUMA: initialize all values of acpi_early_node_map to NUMA_NO_NODE Date: Tue, 27 Aug 2024 16:35:57 +0200 Message-ID: <20240827143834.655481494@linuxfoundation.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240827143833.371588371@linuxfoundation.org> References: <20240827143833.371588371@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Haibo Xu 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: e18962491696 ("arm64: numa: rework ACPI NUMA initialization") Cc: # 4.19.x Reported-by: Andrew Jones Suggested-by: Andrew Jones Signed-off-by: Haibo Xu Reviewed-by: Anshuman Khandual Reviewed-by: Sunil V L Reviewed-by: Andrew Jones Acked-by: Catalin Marinas Acked-by: Lorenzo Pieralisi Reviewed-by: Hanjun Guo Link: https://lore.kernel.org/r/853d7f74aa243f6f5999e203246f0d1ae92d2b61.1722828421.git.haibo1.xu@intel.com Signed-off-by: Catalin Marinas Signed-off-by: Greg Kroah-Hartman --- arch/arm64/kernel/acpi_numa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/arm64/kernel/acpi_numa.c +++ b/arch/arm64/kernel/acpi_numa.c @@ -27,7 +27,7 @@ #include -static int acpi_early_node_map[NR_CPUS] __initdata = { NUMA_NO_NODE }; +static int acpi_early_node_map[NR_CPUS] __initdata = { [0 ... NR_CPUS - 1] = NUMA_NO_NODE }; int __init acpi_numa_get_nid(unsigned int cpu) {