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 02DF226AA9A; Tue, 8 Apr 2025 12:05:05 +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=1744113906; cv=none; b=cZrn7+qxosoUd+8jiPnoIRJSR9vGfDb/Gbd904Agl30M1wg3EyQYDvhhszhN127MRbtVpJY66c5ok4/q5K2VDsr0FYe8aPgk+dZ7YgK+gf7E4T9vtNZgGGvji21kUpr8+p+mXmtj8sLwPt6rAw1xbzxsMD6p5FJm3p8nVpp3F78= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744113906; c=relaxed/simple; bh=yTdvO5Txp/vKFqk4/LDgNgcr7VlZrYVKB+UZKEoxYAs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XgCG3WAcKuhgY20BPhncyWKvIWWmzJy36KckEMP9APM5eLT3sWvyDY1EVmePdm5y5X/an/07VQmYAAs9h0FlYX2Y8IF8O9mGiFJL0QRRPvZfsJ1To085qLoWQ7YiCOZ57pzwKnTCYQn+eAgCB92FeW2JJ/vKgDYn25NhBtyOwOk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oX2B99m7; 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="oX2B99m7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DAB2C4CEE5; Tue, 8 Apr 2025 12:05:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744113905; bh=yTdvO5Txp/vKFqk4/LDgNgcr7VlZrYVKB+UZKEoxYAs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oX2B99m7ZIsfjfH5b9L3tH8eYoLcZ+qNxRM+Isi27NPItLs1mpF+dyJDMMteaOn7h vmdaIf+gn73KhZbrJ8lSteqf6BNzKvPXF4nfLSXjLb6EP5H2cbTaaNVsXULu3an9xX 1FSKBgqw3e15BXM9d826V22gYfBKmLhPby7NqWOg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Geert Uytterhoeven , Lad Prabhakar Subject: [PATCH 5.4 063/154] ARM: shmobile: smp: Enforce shmobile_smp_* alignment Date: Tue, 8 Apr 2025 12:50:04 +0200 Message-ID: <20250408104817.313221163@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250408104815.295196624@linuxfoundation.org> References: <20250408104815.295196624@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.4-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