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=1796382302; b=O0Q5K8HN9yeIzFIfGvOlD0O9Nmf6WIqoFEJtaJrI59jreWTbk5/2E86gk99RUZtwa2lY sURej2hvu7H0sv+sOX8TCUsSKZMSXMsk3BW3dl187Tegg/lNkIySKn3K67S7DHnqcQRbB iB9HnN67osVta5hVKwltHfUYzY27Smqki6QqME8hQ+duyl+SR6BWAytnfY8M5Hl16NdOC PftieqOB2yQ2jpFkwfom1cgK3BDOMPMsHzeXX8svglrX0lrP2vhjlXdYVv0FCxkeOFSsh 1PAa9TkSakgDlsoVi/IWTUDfMmh7x4143el8yeeQwf86H845O+/PWCfIKqgj8WBdMVA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796382302; 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=CmRzEw6Wy0W0q9s3nG04Uc9FaPKkirxn3uWWZvRyV04=; b=ntRwmvNf4ZJtqO6pWZMWUie1g7F93+AKxV1U9CNf5sfzl5KnSpaSTphBY8fCyNi9I0Jq PF9BwjJkEgpN9y7MCAsZMFyhKfqQglFkht7K/MtS/q7GVaexxE8lTTFaWtzq+AR1MilDB rsMHdFmKfQ+5g0076oQ/lYzPb2o0NpLIhJlnw5O+C1CQ6LTyXIcd5TfS58WJg/q++6VwZ Rjcy/LhPGbtV26FLxpCgWkF4pkx4NuWJPWzxOhRQ04UUMkcXb3d2gYNwUJ+dEbnIf+KKK bMsxuLqRnytdTQfx2NYHkgFc/5qZBRO8w+FEX9Vyv6plWM9Y7JDVPeYW2mKzvTML01A== 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=VRwY0DTT; 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 47DA5606A32C; Fri, 4 Dec 2026 11:05:02 +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=VRwY0DTT Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE2FB1F000CE; Fri, 4 Dec 2026 11:05:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796382302; bh=CmRzEw6Wy0W0q9s3nG04Uc9FaPKkirxn3uWWZvRyV04=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=VRwY0DTTigrjnU9f1DbJLDJaflGHpqzoG2pS2fvujDP3NMHVKRnzQm646cAu9XbhA m7pNjpvgJkmMuw0IgLHFExD0xs1cCNLj9oqolJCnEIatHafU9bnyoPF4NV3Wtsufi6 rWi2tl/2Lu1S3aTQyVnINAk+GjR8KapxehwERRwg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Ryan Roberts , Catalin Marinas Subject: [PATCH 6.18 394/703] arm64: cpufeature: Remove Neoverse-V3/AE from the BBML3 allow list Date: Fri, 4 Dec 2026 19:04:53 +0900 Message-ID: <20261204100638.315325286@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100627.522266145@linuxfoundation.org> References: <20261204100627.522266145@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 6.18-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 @@ -238,10 +238,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 @@ -2140,8 +2140,6 @@ bool cpu_supports_bbml2_noabort(void) */ static const struct midr_range supports_bbml2_noabort_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),