From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 92A41318EC7; Wed, 20 May 2026 16:52:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779295925; cv=none; b=KbHfXe+Zw7F7wqF0qfusPXO08JE1/sJvDXT3a8+Prxral0/qcZuU1LooCuLIxF2NykjPuKH84LH4dCAehqyldQBWsD4lbevISnGD1/07/dJKcjQxhoXEQlEHEyJGRxhZH6aPjHb3wjhPi02gZ0YrH4+24HlrGaJ2VTiSke9tiUo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779295925; c=relaxed/simple; bh=vNmn/pjju3mq/zdzwGbYHMIZSpwJI5f/CY066FOolfA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kiNkwlS9a1dWes6D5F72j/KnNCKi99y1Mh2PwfjWY7/tbS7N2Y+mgOUdUrJtDxXBhjmpGumGr9odM3MMFFHW/7rBp+hKn7VObHsxlldd6GP/DPB9D4ma8jZYb0Zt+iReXM3AM001EN/cgMGhBXX5pn2KPwlNJi0O9NGTkzBbiEA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QzRvtzuq; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="QzRvtzuq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD4A71F000E9; Wed, 20 May 2026 16:52:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779295923; bh=lyX7pOGh8/F8JtEjWdnv5qRZkNSp8sld7U9gVGE+cE0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=QzRvtzuqUllCBqibr7Pnj1sjFX7NB3GLCUuWGRx+HJXV9b6dHTHxqubqtIl5bKs3h z1AQHqPt67qNb3WMmkpwMEcZl/QE/n4tm+Zmbj3j7poEcQRBizhRnO4chpxpw+D1EW lk2Ls2hnvdTqvBvRv52mMoGCgTGWg3u8kyEK/XGc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Christoph Hellwig , Eric Biggers , Albert Ou , Alexander Gordeev , Alexandre Ghiti , Andreas Larsson , Anton Ivanov , Ard Biesheuvel , Arnd Bergmann , "Borislav Petkov (AMD)" , Catalin Marinas , Chris Mason , Christian Borntraeger , Dan Williams , "David S. Miller" , David Sterba , Heiko Carstens , Herbert Xu , "H. Peter Anvin" , Huacai Chen , Ingo Molnar , "Jason A. Donenfeld" , Johannes Berg , Li Nan , Madhavan Srinivasan , Magnus Lindholm , Matt Turner , Michael Ellerman , Nicholas Piggin , Palmer Dabbelt , Richard Henderson , Richard Weinberger , Russell King , Song Liu , Sven Schnelle , Ted Tso , Vasily Gorbik , WANG Xuerui , Will Deacon , Andrew Morton , Sasha Levin Subject: [PATCH 7.0 0564/1146] arm64/xor: fix conflicting attributes for xor_block_template Date: Wed, 20 May 2026 18:13:34 +0200 Message-ID: <20260520162200.947364551@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260520162148.390695140@linuxfoundation.org> References: <20260520162148.390695140@linuxfoundation.org> User-Agent: quilt/0.69 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 7.0-stable review patch. If anyone has any objections, please let me know. ------------------ From: Christoph Hellwig [ Upstream commit 675a0dd596e712404557286d0a883b54ee28e4f4 ] Commit 2c54b423cf85 ("arm64/xor: use EOR3 instructions when available") changes the definition to __ro_after_init instead of const, but failed to update the external declaration in xor.h. This was not found because xor-neon.c doesn't include , and can't easily do that due to current architecture of the XOR code. Link: https://lkml.kernel.org/r/20260327061704.3707577-4-hch@lst.de Fixes: 2c54b423cf85 ("arm64/xor: use EOR3 instructions when available") Signed-off-by: Christoph Hellwig Reviewed-by: Eric Biggers Tested-by: Eric Biggers Cc: Albert Ou Cc: Alexander Gordeev Cc: Alexandre Ghiti Cc: Andreas Larsson Cc: Anton Ivanov Cc: Ard Biesheuvel Cc: Arnd Bergmann Cc: "Borislav Petkov (AMD)" Cc: Catalin Marinas Cc: Chris Mason Cc: Christian Borntraeger Cc: Dan Williams Cc: David S. Miller Cc: David Sterba Cc: Heiko Carstens Cc: Herbert Xu Cc: "H. Peter Anvin" Cc: Huacai Chen Cc: Ingo Molnar Cc: Jason A. Donenfeld Cc: Johannes Berg Cc: Li Nan Cc: Madhavan Srinivasan Cc: Magnus Lindholm Cc: Matt Turner Cc: Michael Ellerman Cc: Nicholas Piggin Cc: Palmer Dabbelt Cc: Richard Henderson Cc: Richard Weinberger Cc: Russell King Cc: Song Liu Cc: Sven Schnelle Cc: Ted Ts'o Cc: Vasily Gorbik Cc: WANG Xuerui Cc: Will Deacon Signed-off-by: Andrew Morton Signed-off-by: Sasha Levin --- arch/arm64/include/asm/xor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/xor.h b/arch/arm64/include/asm/xor.h index c38e3d017a79e..bb7428d4ebc65 100644 --- a/arch/arm64/include/asm/xor.h +++ b/arch/arm64/include/asm/xor.h @@ -13,7 +13,7 @@ #ifdef CONFIG_KERNEL_MODE_NEON -extern struct xor_block_template const xor_block_inner_neon; +extern struct xor_block_template xor_block_inner_neon __ro_after_init; static void xor_neon_2(unsigned long bytes, unsigned long * __restrict p1, -- 2.53.0