All of lore.kernel.org
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Ryan Roberts <ryan.roberts@arm.com>
Cc: Will Deacon <will@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Linu Cherian <linu.cherian@arm.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/3] arm64: cpufeature: Document BBML3 exclusions
Date: Mon, 30 Nov 2026 10:57:57 +0000	[thread overview]
Message-ID: <aw1WtSI5iwsXqZN4@arm.com> (raw)
In-Reply-To: <20261127151157.406111-3-ryan.roberts@arm.com>

On Fri, Nov 27, 2026 at 03:11:55PM +0000, Ryan Roberts wrote:
> diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
> index a8a1a73ba1b8..710d44a30d29 100644
> --- a/arch/arm64/kernel/cpufeature.c
> +++ b/arch/arm64/kernel/cpufeature.c
> @@ -2010,7 +2010,28 @@ static bool hvhe_possible(const struct arm64_cpu_capabilities *entry,
>  
>  bool cpu_supports_bbml3(void)
>  {
> -	/* CPUs that support BBML3 but dont advertise through ID_AA64MMFR2_EL1 */
> +	/*
> +	 * CPUs that support BBML3 but don't advertise through ID_AA64MMFR2_EL1.
> +	 *
> +	 * The following CPUs advertise BBML2 and are known not to raise
> +	 * conflict aborts, but are excluded because of errata that can cause a
> +	 * load or store to livelock when changing mapping size without
> +	 * break-before-make:
> +	 *
> +	 *   3043240: Cortex-X925
> +	 *   3043263: Cortex-X4
> +	 *   3053180: Neoverse-V3 and Neoverse-V3AE
> +	 *   3683289: C1-Ultra and C1-Premium (before r1p1)
> +	 *   3696239: Cortex-X3
> +	 *   3696242: Neoverse-V2
> +	 *   3696244: Cortex-A710 and Cortex-X2
> +	 *   3696250: Neoverse-N2
> +	 *   3696285: Neoverse-V1
> +	 *   4196850: C2-Ultra
> +	 *
> +	 * Cortex-A510 also advertises BBML2 but can generate conflict aborts,
> +	 * independently of errata, so it does not meet the BBML3 requirements.
> +	 */
>  	static const struct midr_range supports_bbml3_list[] = {
>  		MIDR_ALL_VERSIONS(MIDR_NVIDIA_OLYMPUS),
>  		MIDR_ALL_VERSIONS(MIDR_NVIDIA_RIGEL),

This works for me. Thanks.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>

  reply	other threads:[~2026-11-30 10:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 15:11 [PATCH v2 0/3] BBML3 cleanups and additions Ryan Roberts
2026-11-27 15:11 ` [PATCH v2 1/3] arm64: cputype: Add Cortex-A320 definitions Ryan Roberts
2026-11-30 10:56   ` Catalin Marinas
2026-11-27 15:11 ` [PATCH v2 2/3] arm64: cpufeature: Document BBML3 exclusions Ryan Roberts
2026-11-30 10:57   ` Catalin Marinas [this message]
2026-11-27 15:11 ` [PATCH v2 3/3] arm64: cpufeature: Enable BBML3 on Cortex-A320, A520 and A720 Ryan Roberts
2026-11-30 10:57   ` Catalin Marinas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aw1WtSI5iwsXqZN4@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=linu.cherian@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=ryan.roberts@arm.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.