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=1796220941; b=vf5GbeQzaP0Q8xc1WAcgbUdAs6d1xbmjrE1BANpqe5qlImho/p6zyxrsdo9L5NAcDlwM DXhpbDoXsZ4bJjoADYjwOmSHvlwvQ7is5Uer4tvhtr2lh6uEIsMYRlOm2K/IrLfUkn5P1 G8uszr8vtf9vE9oueeXKd0mNHzk1uzW+lGqLOQw5Yjk9k9O8r2W9GptPh0P3f/rhJNY+h +WqjBkimyR+TniJgnA2coyGxuvWvO7o76n/PWaeAPrJqW1mcob7KV1j/91m7A+551GZ+L cMLu+D8ewzlomoZAqXRC+NDqdtB36vzEmA8E2ZDSX6iBgQ21WJqOtH3oqteNxQ+JAYA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796220941; h=Received:DKIM-Signature:Subject:To:Cc:From:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding; bh=S2sPWDjmRSyCR0iiqNL57QaUGpiBm7gCxz1Wlwgo+uc=; b=VOK/wZihBMkOaCXx7W77ox6o+SP2GHu7SLIBh+kVOzdQPh98CZr1YlPo5UeuEzxDtT3u p90UIAwQLkSZLpTNGHdy2gRiAK/+X6koRuUe2E2WmQiz3ORFi/hD6uOTpgkjIVsBDVZxg PNOnt9ANjmIUIT+s6o++3/q+f55VBmev21IuTh5ZU44BWoQ+nf1prvhaerqZUDEXD1A1z o+ZiNKbns3QRkX3GATZ6jJ9f9vqIq7tYWT8OH+J09bZKRQZ7hNsAuBIi3BXh/1Y4gGeWt TzeTZafFMq4qYEiULfEkOitG+qrBUbKqYfTIDaBK/7myDzno/XdSaiT/b608f0dE9QA== 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=jKtDsqNY; 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 BD52E606A325 for ; Wed, 2 Dec 2026 14:15:41 +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=jKtDsqNY Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3A4B1F00896; Wed, 2 Dec 2026 14:15:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796220941; bh=S2sPWDjmRSyCR0iiqNL57QaUGpiBm7gCxz1Wlwgo+uc=; h=Subject:To:Cc:From:Date; b=jKtDsqNYU/QiAvHd/i7/hZ0tlAt6fa0bVb1tkOPKUqa/1AiG7UX65/fAjT30vkGCV rH23ZSznAhCl9WAyv7A/MHoVmkP0d1APfcNNUrfy7dtB5iqlwGppmefmLD/+EFgVrm ssDsa3uzCGYd4BmvDPU04bSzG4D5udRSIabp2aBM= Subject: FAILED: patch "[PATCH] arm64: cpufeature: Remove Cortex-X4 from the BBML3 allow list" failed to apply to 6.18-stable tree To: ryan.roberts@arm.com,catalin.marinas@arm.com Cc: From: Date: Wed, 02 Dec 2026 13:56:34 +0100 Message-ID: <2026120234-unscathed-affluent-0a72@gregkh> 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-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.18-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.18.y git checkout FETCH_HEAD git cherry-pick -x c6ba16d8157b05e0a05b773422f5d3c5941e22de # git commit -s git send-email --to '' --in-reply-to '2026120234-unscathed-affluent-0a72@gregkh' --subject-prefix 'PATCH 6.18.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From c6ba16d8157b05e0a05b773422f5d3c5941e22de Mon Sep 17 00:00:00 2001 From: Ryan Roberts Date: Fri, 13 Nov 2026 14:50:16 +0000 Subject: [PATCH] arm64: cpufeature: Remove Cortex-X4 from the BBML3 allow list Cortex-X4 erratum 3043263 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 r0p3. On that basis, commit 5aa4b625762e ("arm64: Add BBM Level 2 cpu feature") added Cortex-X4 from r0p3. The updated Cortex-X4 SDEN v13, dated 18 June 2026, lists r0p0, r0p1, r0p2 and r0p3 as affected and the erratum as open. Remove the entry so Cortex-X4 observes break-before-make, and record the workaround in the silicon errata registry. Fixes: 5aa4b625762e ("arm64: Add BBM Level 2 cpu feature") Cc: stable@vger.kernel.org Link: https://support.arm.com/documentation/109148/13-0/?lang=en Signed-off-by: Ryan Roberts Signed-off-by: Catalin Marinas diff --git a/Documentation/arch/arm64/silicon-errata.rst b/Documentation/arch/arm64/silicon-errata.rst index 598acae27f9b..bffaa46c664b 100644 --- a/Documentation/arch/arm64/silicon-errata.rst +++ b/Documentation/arch/arm64/silicon-errata.rst @@ -209,6 +209,8 @@ stable kernels. +----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-X3 | #4193786 | ARM64_ERRATUM_4118414 | +----------------+-----------------+-----------------+-----------------------------+ +| ARM | Cortex-X4 | #3043263 | N/A | ++----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-X4 | #3194386 | ARM64_ERRATUM_3194386 | +----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-X4 | #4118414 | ARM64_ERRATUM_4118414 | diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c index a79f010fb547..a8a1a73ba1b8 100644 --- a/arch/arm64/kernel/cpufeature.c +++ b/arch/arm64/kernel/cpufeature.c @@ -2012,7 +2012,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_ALL_VERSIONS(MIDR_NVIDIA_OLYMPUS), MIDR_ALL_VERSIONS(MIDR_NVIDIA_RIGEL), MIDR_ALL_VERSIONS(MIDR_AMPERE1),