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 EFCB919F421; Tue, 25 Mar 2025 12:30:16 +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=1742905817; cv=none; b=dWGuFJmI76rctmLa3X9P7ER+L69+Y0/FsTgR+FKQX48wXAO0+vqVh4UbLMYTVYt/QzQ2R2s1JV6HqY+cTZkYHr2xw9MjxzJ/uyauvKj+riulyIYuQWs775gxU4Uiwe0rkqtbMjZpnhc/4WEZfamb4U70voBzpPRW9VS07EKteGo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742905817; c=relaxed/simple; bh=N5B9vMRfzAN0A0fk7XTI9jD5Ti/XpqvJEJUO+yGCSVs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=F8ZdSv+qRIRRZeSCkO9ujUz/TzRMPobbWG6rS/HH7k3sz4+3b8SH1M1AqvSfUfdZE3QADqRCJbjMI/tOOgwu3Y7FMsfUfN26440b9mXd4b33MqXfNUqEjZCY1vC6jzUlariS6zF4N/WaWWWQLQbj/5DMj2VNAeRaqkbg9cow2v0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UEd77041; 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="UEd77041" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9EA03C4CEE4; Tue, 25 Mar 2025 12:30:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1742905816; bh=N5B9vMRfzAN0A0fk7XTI9jD5Ti/XpqvJEJUO+yGCSVs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UEd770413pWEmqFXBJdhjj7Cvd+H+Ki/wnb5/yHZfnCGnMXuOWvprnEMIY794r4PE 3ZuYQ5I6FWBcTONa51mrS/KiwxckA529IDscEIUCLkQx+7yfDMl18tRMdRYAgvp9wP wzJbUfpKrB7m9B/LV98jH+OUFG6mrZ/jWvXi23YQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Geert Uytterhoeven , Lad Prabhakar Subject: [PATCH 6.1 180/198] ARM: shmobile: smp: Enforce shmobile_smp_* alignment Date: Tue, 25 Mar 2025 08:22:22 -0400 Message-ID: <20250325122201.370646797@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250325122156.633329074@linuxfoundation.org> References: <20250325122156.633329074@linuxfoundation.org> User-Agent: quilt/0.68 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: Geert Uytterhoeven commit 379c590113ce46f605439d4887996c60ab8820cc upstream. When the addresses of the shmobile_smp_mpidr, shmobile_smp_fn, and shmobile_smp_arg variables are not multiples of 4 bytes, secondary CPU bring-up fails: smp: Bringing up secondary CPUs ... CPU1: failed to come online CPU2: failed to come online CPU3: failed to come online smp: Brought up 1 node, 1 CPU Fix this by adding the missing alignment directive. Fixes: 4e960f52fce16a3b ("ARM: shmobile: Move shmobile_smp_{mpidr, fn, arg}[] from .text to .bss") Closes: https://lore.kernel.org/r/CAMuHMdU=QR-JLgEHKWpsr6SbaZRc-Hz9r91JfpP8c3n2G-OjqA@mail.gmail.com Signed-off-by: Geert Uytterhoeven Tested-by: Lad Prabhakar Link: https://lore.kernel.org/c499234d559a0d95ad9472883e46077311051cd8.1741612208.git.geert+renesas@glider.be Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- arch/arm/mach-shmobile/headsmp.S | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm/mach-shmobile/headsmp.S +++ b/arch/arm/mach-shmobile/headsmp.S @@ -136,6 +136,7 @@ ENDPROC(shmobile_smp_sleep) .long shmobile_smp_arg - 1b .bss + .align 2 .globl shmobile_smp_mpidr shmobile_smp_mpidr: .space NR_CPUS * 4