From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796380806; b=5eRatt11/fIgzdK4uxfwfhU+8ouVhFI4w+99VONj0uSjDerLp83roT3oT+hH9SnUeTES RRFPVPLdY0+R8EZTHi9g9SwKQhwDHaUXy3+zdXGkjD2CFTItU0cG5g/yvFvSURZlFaVko zfIzaitjmBrzk8QRI28dGtiOuvXwcnHMzniqaaud2NOnqBf1kIEk4hIzi3+lusULJtrzg LudvTiLRNcNDIZG9uqgphyOXhdhwxTOffPmTaq4wJjYANvaqxxcvSjFf2rMrdskmryMnD ezZzp161bvAJJxts06JmW8o91RTT+v4z7DZoxDgdq1fb2keQk+skUH5kmOMoHAcIrfw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796380806; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=JaJKXN/NqyLmeAtpi+I3sg+IxdfdiAmbjHegTCecZsE=; b=eIrLJxV+oTlKxJSbmoy0A1TRWc+heYItJuoy8ZUxm8QQWUg6jKwyzrrA7rsugUbcqgEL 8DG/7gjSHDjwB0vo9p2hMaFvTCQAr6xqrStWX15J0reHPHgjjb/IdexPrgLYokGd5L82J PvXqy5WPUy99SgC06aG6V9x6JhCb9HJjK3p811TyV+3HQHGJ4Qb4en0UIn1PfNQZEtDkr V8s922dUzLe6ckhRPkPssLsypmiMTFOE3xo/6Sqt9BtiDGil2YRRIoGGJ/QJAq0EnP62+ YifScoV9ylN+0eh438nbk9k64fakOLVvzlsTYsjKNDE3WDVEnOgeTtzHupMCdJedTJQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b="Sm/p/m89"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8185B606A336; Fri, 4 Dec 2026 10:40:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Sm/p/m89 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC3471F000CE; Fri, 4 Dec 2026 10:40:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796380806; bh=JaJKXN/NqyLmeAtpi+I3sg+IxdfdiAmbjHegTCecZsE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Sm/p/m89hoW2cQPnVuAZk0hjLeQzHNG9tXdlT7IsNnRAS80rxD5ibD920TnBFQzrq qW4w6+JSL6Tc6SfxW75rEbLPGEg0RwMVXK5zZB3a9ITBP4W526Yxa/UVYOCxGqEEbH /kqz/jGLesHEUwuMQbF6DxK2t2h1aCvdSvELsaFA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Ryan Roberts , Catalin Marinas Subject: [PATCH 7.3 431/742] arm64: cpufeature: Remove Neoverse-V3/AE from the BBML3 allow list Date: Fri, 4 Dec 2026 19:04:55 +0900 Message-ID: <20261204100646.557629223@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100635.034361255@linuxfoundation.org> References: <20261204100635.034361255@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.3-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ryan Roberts commit 4f9280c8db69bc807c6c6c616f1b9853ca9144c7 upstream. Neoverse-V3 and Neoverse-V3AE erratum 3053180 can cause a load or store to livelock when mapping size changes without break-before-make or when contiguous hints are programmed inconsistently. The erratum was previously reported as fixed in r0p2. On that basis, commit 5aa4b625762e ("arm64: Add BBM Level 2 cpu feature") allowed Neoverse-V3 from r0p2, and commit 8fca3852e33d ("arm64: cpufeature: add Neoverse-V3AE to BBML2 allow list") did the same for Neoverse-V3AE. The updated SDENs, MP168 v11 for Neoverse-V3 and MP172 v12 for Neoverse-V3AE, dated 9 June 2026, list r0p0, r0p1 and r0p2 as affected and the erratum as open. There is no fixed revision on which to base either allow-list entry. Remove both entries so these CPUs observe break-before-make, and record the workaround in the silicon errata registry. Fixes: 5aa4b625762e ("arm64: Add BBM Level 2 cpu feature") Fixes: 8fca3852e33d ("arm64: cpufeature: add Neoverse-V3AE to BBML2 allow list") Cc: stable@vger.kernel.org Link: https://support.arm.com/documentation/109231/11-0/?lang=en Link: https://support.arm.com/documentation/109704/12-0/?lang=en Signed-off-by: Ryan Roberts Signed-off-by: Catalin Marinas Signed-off-by: Greg Kroah-Hartman --- Documentation/arch/arm64/silicon-errata.rst | 4 ++++ arch/arm64/kernel/cpufeature.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) --- a/Documentation/arch/arm64/silicon-errata.rst +++ b/Documentation/arch/arm64/silicon-errata.rst @@ -250,10 +250,14 @@ stable kernels. +----------------+-----------------+-----------------+-----------------------------+ | ARM | Neoverse-V2 | #4193787 | ARM64_ERRATUM_4118414 | +----------------+-----------------+-----------------+-----------------------------+ +| ARM | Neoverse-V3 | #3053180 | N/A | ++----------------+-----------------+-----------------+-----------------------------+ | ARM | Neoverse-V3 | #3312417 | ARM64_ERRATUM_3194386 | +----------------+-----------------+-----------------+-----------------------------+ | ARM | Neoverse-V3 | #4193784 | ARM64_ERRATUM_4118414 | +----------------+-----------------+-----------------+-----------------------------+ +| ARM | Neoverse-V3AE | #3053180 | N/A | ++----------------+-----------------+-----------------+-----------------------------+ | ARM | Neoverse-V3AE | #3312417 | ARM64_ERRATUM_3194386 | +----------------+-----------------+-----------------+-----------------------------+ | ARM | Neoverse-V3AE | #4193784 | ARM64_ERRATUM_4118414 | --- a/arch/arm64/kernel/cpufeature.c +++ b/arch/arm64/kernel/cpufeature.c @@ -2164,8 +2164,6 @@ bool cpu_supports_bbml3(void) /* CPUs that support BBML3 but dont advertise through ID_AA64MMFR2_EL1 */ static const struct midr_range supports_bbml3_list[] = { MIDR_REV_RANGE(MIDR_CORTEX_X4, 0, 3, 0xf), - MIDR_REV_RANGE(MIDR_NEOVERSE_V3, 0, 2, 0xf), - MIDR_REV_RANGE(MIDR_NEOVERSE_V3AE, 0, 2, 0xf), MIDR_ALL_VERSIONS(MIDR_NVIDIA_OLYMPUS), MIDR_ALL_VERSIONS(MIDR_AMPERE1), MIDR_ALL_VERSIONS(MIDR_AMPERE1A),