|
|
Log in / Subscribe / Register

Add BBML3 cpu feature

From:  Linu Cherian <linu.cherian-AT-arm.com>
To:  Catalin Marinas <catalin.marinas-AT-arm.com>, Will Deacon <will-AT-kernel.org>, Ryan Roberts <ryan.roberts-AT-arm.com>, Kevin Brodsky <kevin.brodsky-AT-arm.com>, Anshuman Khandual <anshuman.khandual-AT-arm.com>, Suzuki K Poulose <suzuki.poulose-AT-arm.com>, Mark Rutland <mark.rutland-AT-arm.com>
Subject:  [PATCH v2 0/6] Add BBML3 cpu feature
Date:  Wed, 08 Jul 2026 20:13:25 +0530
Message-ID:  <20260708144331.679816-1-linu.cherian@arm.com>
Cc:  linux-arm-kernel-AT-lists.infradead.org, linux-kernel-AT-vger.kernel.org, Linu Cherian <linu.cherian-AT-arm.com>
Archive-link:  Article

- Patches 1, 2 and 3 adds more cpus to the bbml2_noabort 
  support list. bbml2_noabort would eventually gets renamed
  to bbml3 in a subsequent patch as they are functionally
  equivalent. 
- Patches 4, 5 & 6 introduces BBML3 cpu feature

Changelog from v1:
* Patches associated with adding cpus to BBML2_NOABORT,
  support list, were kept at bottom in v1 is now moved
  up in this version, for ease of backporting.

* Adding BBM_3 definition in sysreg moved into a separate patch

* MMFR2_ID check for BBM_3 has been changed from == BBM_3 to
  >= BBM_3, so that BBML3 cpu feature gets enabled for BBM_4 as well.

* For feature detection, MMFR2_ID check comes first followed by 
  midr check for code readability

* Errata details for C1-Ultra and C1-Premium added to commit message

Linu Cherian (6):
  arm64: cputype: Add Cortex-A520AE definitions
  arm64: cputype: Add C1-Nano definitions
  arm64: cpufeature: Extend bbml2_noabort support list
  arm64: sysreg: Add BBM_3
  arm64: cpufeature: Add BBML3
  arm64: cpufeature: Detect BBML3 based on MMFR2 ID

 arch/arm64/include/asm/cpufeature.h |  6 ++--
 arch/arm64/include/asm/cputype.h    |  4 +++
 arch/arm64/kernel/cpufeature.c      | 54 ++++++++++++++---------------
 arch/arm64/mm/contpte.c             | 21 +++++------
 arch/arm64/mm/mmu.c                 | 52 +++++++++++++--------------
 arch/arm64/mm/proc.S                |  4 +--
 arch/arm64/tools/cpucaps            |  2 +-
 arch/arm64/tools/sysreg             |  1 +
 8 files changed, 71 insertions(+), 73 deletions(-)

-- 
2.43.0




Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds