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 7206D1C68C; Sun, 1 Sep 2024 16:50:17 +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=1725209417; cv=none; b=TU0b0PXoN194oH7208W0fiXR3pA9AolXJ32HXyFd8T67S+FDbvYDxy6+rYNQXyNmcDU5B1XS79xoeaJVDgCcOOXIJE6u4JLjh4izBIKxBrcI/mmG4HqPJGHA3cTG00O9wJkC/HrhlfxIP6QseV8pn1Chite+glaLcQ0dJQ1A44c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725209417; c=relaxed/simple; bh=TThz+3hopQwX8sX+UrQW9A11WzpsfBpm1uCSGvQrCL8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iAh2OJS/kX21tfOBP9Xg2smbUByTjt+P6dXkfti4JIVIvzocU2C8hocHg9qp8aQhRYQs/DMEYsV8tjYnNQfcLoKjT9A4QaLxwqYUcNDSE8XT16PoDulHV5f+5i7bed/bVA82ThfGPk16vLV5A2S6SJpxXf/lpHmsGkeuFtUlaDU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=a8ak/6tj; 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="a8ak/6tj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EBDEDC4CEC3; Sun, 1 Sep 2024 16:50:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1725209417; bh=TThz+3hopQwX8sX+UrQW9A11WzpsfBpm1uCSGvQrCL8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a8ak/6tjoOgYm9fg2srrujneJH62bkZI/uiTAP0p1mvaHFFfZX0ntHV6dLlLy8PyV 8KuvwIUOHQRSKF4Y1IyDOjQXbzcDEgSy3TUQoFdstCeFp1pfMAxNaWP5qlXarSmTRI 8diL9kts1JlgcKJtMQmiT4DAOKYZkEHKWqpYAl84= 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 5.10 006/151] arm64: ACPI: NUMA: initialize all values of acpi_early_node_map to NUMA_NO_NODE Date: Sun, 1 Sep 2024 18:16:06 +0200 Message-ID: <20240901160814.336020444@linuxfoundation.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240901160814.090297276@linuxfoundation.org> References: <20240901160814.090297276@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 5.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) {