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 4D5BE1A072D; Tue, 27 Aug 2024 15:15:58 +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=1724771758; cv=none; b=AWGq+PTmcKluq8nDg7Jb1kBFnR4cGD9DhbXkx42eGmKYOl63EJX63gRNR492HIgyz2W5sOWAZlJeCeMZTEtku0JENoYTEo0JQQ58R2dD2ejuUjKXbKjBRns4xpwVca2OSVVGbiAVkisM0tQ5/kCXGVR45rZSkpkZheezM3/MF8E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724771758; c=relaxed/simple; bh=VOuTtdMuloZ2tZ0Xg7pKO+zCgE2dUK8KNP/A47ImTlo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=a82pOPq3CdxNk7gT1n90a3ugAcGfAaiGKNwsWNR19TQgkjD8S+WWWfsqHYG1dOgpLCMWxa5X0UniP0SRl7H+Egp/J0invX6YNe9G1uKCl0uD/ndgFopkVGEoxv5yMFt/tlMtipKZTWft6bkBQcAzLKxpwwWugSYgPWWYJZwiZTk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pRA4aDLa; 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="pRA4aDLa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C00A1C4AF50; Tue, 27 Aug 2024 15:15:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1724771758; bh=VOuTtdMuloZ2tZ0Xg7pKO+zCgE2dUK8KNP/A47ImTlo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pRA4aDLaLi5AoiI1nGIgWfiHVGK+OmBLrIPkWMMMPBHPJf8SWXKFvhK0u6TGY0XYQ 6kvAYs6gNYVZF/tyFr/Rm/eFlhybkdJ6BPB4PnLrYT0fjhsIZhndCJeKc0An7Totz3 NplbUZSa7WEm06mpjLMH2/uDBekwxp9t9TKJUhos= 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.1 012/321] arm64: ACPI: NUMA: initialize all values of acpi_early_node_map to NUMA_NO_NODE Date: Tue, 27 Aug 2024 16:35:20 +0200 Message-ID: <20240827143838.672890418@linuxfoundation.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240827143838.192435816@linuxfoundation.org> References: <20240827143838.192435816@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-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) {