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 7A08D19AD5C; Tue, 8 Apr 2025 11:42:07 +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=1744112527; cv=none; b=i/MWu9efm0D0fDKyWkzWhWhvPK/izW3ee9rJ+GHxF92X5kNZriTUA7DnH61stQaBRTpYDb1/qEJeoAtoVr9UO6SV621ZoTyxbn/xrO0eJBR85xVX1A9nwsdKNEzgT9vsQzpF632yYdlIvNWAPPa3Av/Jt1Gy5qQV/NVlGT8YFsA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744112527; c=relaxed/simple; bh=ytqZ6y1/hgJSQLxSRS2h/zCg/ocrzvfKZEoVkTskg34=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=dP5uppf9iydg5pGSQUfZD3OvC/GDVbOQOuci6K5AXskVhLL5b9XRxCY/zh2BvjzshuK/ihCeFBF70PfirrX2eRqwSnwx0dNJK2JMpPTjY+SWQGtuY5/nudV82DpMcbunlRofZrB04pKiEyAi5njWGV6NVbdbe/DaGVJqrswlWBY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=h4UtO8ZL; 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="h4UtO8ZL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04415C4CEE5; Tue, 8 Apr 2025 11:42:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744112527; bh=ytqZ6y1/hgJSQLxSRS2h/zCg/ocrzvfKZEoVkTskg34=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h4UtO8ZL3SN8D7fg67uiGwYM4Jvu0wh/s5MYC9VqsauyPml8J9DtQv1vgeo5fDACf sxuQFRRQR3hYh3RxvB0Vp+fXDmzMl9ea1SG8IGjnJrL9uOzks0y2xpA5njwr1zTtPv GBKbDRdSx3HeZQnRJIj+zGlvTq4BFCHyHQy5i/tA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Geert Uytterhoeven , Lad Prabhakar Subject: [PATCH 5.15 101/279] ARM: shmobile: smp: Enforce shmobile_smp_* alignment Date: Tue, 8 Apr 2025 12:48:04 +0200 Message-ID: <20250408104829.074739789@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250408104826.319283234@linuxfoundation.org> References: <20250408104826.319283234@linuxfoundation.org> User-Agent: quilt/0.68 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 5.15-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