]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: cpufeature: add AmpereOne to BBML2 allow list
authorYang Shi <yang@os.amperecomputing.com>
Wed, 17 Sep 2025 19:02:08 +0000 (12:02 -0700)
committerWill Deacon <will@kernel.org>
Thu, 18 Sep 2025 20:26:50 +0000 (21:26 +0100)
AmpereOne supports BBML2 without conflict abort, add to the allow list.

Reviewed-by: Christoph Lameter (Ampere) <cl@gentwo.org>
Reviewed-by: Ryan Roberts <ryan.roberts@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Yang Shi <yang@os.amperecomputing.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/cpufeature.c

index c6cbeee48c5718c0a43ef4dc1b6d61d8429993f8..cf2dd5ea173fe48c2beabd79c597ce6645786c54 100644 (file)
@@ -2236,6 +2236,8 @@ static bool has_bbml2_noabort(const struct arm64_cpu_capabilities *caps, int sco
                MIDR_REV_RANGE(MIDR_CORTEX_X4, 0, 3, 0xf),
                MIDR_REV_RANGE(MIDR_NEOVERSE_V3, 0, 2, 0xf),
                MIDR_ALL_VERSIONS(MIDR_NVIDIA_OLYMPUS),
+               MIDR_ALL_VERSIONS(MIDR_AMPERE1),
+               MIDR_ALL_VERSIONS(MIDR_AMPERE1A),
                {}
        };