Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

1.2 What Armv9-A actually changed

v9.0 is v8.5 with a short list of extra rules

Armv9-A did not add a new execution state, a new exception model or a new translation scheme. AArch64 at v9.0 runs the same instruction set, page tables, exception levels and memory model as Armv8.5. Architecturally, Armv9.0 means:

  1. Every Armv8.5 mandatory feature. An Armv9.0 implementation must be a compliant Armv8.5 implementation (1.1). That brings in, among others, FEAT_LSE, FEAT_PAN, FEAT_RAS, FEAT_PAuth, FEAT_BTI, FEAT_SB, FEAT_CSV2 and FEAT_DIT.
  2. SVE2. Arm announced v9 with SVE2 as its headline feature, and every v9 application core so far implements it. Look at the precise wording, though. Current DDI0487 issues list FEAT_SVE2 as OPTIONAL from Armv9.0, and require it for Armv9-A systems that support standard operating systems with rich application environments. Toolchains still treat SVE2 as part of -march=armv9-a (LLVM cites the AAPCS64 for this). For a deeply embedded or real-time PE, or an accelerator control core that claims v9, the ID register is the only authority: check ID_AA64PFR0_EL1.SVE and ID_AA64ZFR0_EL1.SVEver. See DDI0487 A2 for the current text.
  3. AArch32 at EL0 only. In Armv8-A, AArch32 is permitted at any EL, subject to the rule that an EL using AArch32 forces every lower EL to AArch32 as well. In Armv9-A, EL1, EL2 and EL3 are AArch64 only, and AArch32 support at EL0 is optional. Several later cores (for example Cortex-X2 and Cortex-A715) are AArch64-only at every EL. Check ID_AA64PFR0_EL1.EL0 (0b0010 = AArch64 and AArch32). 2.1 covers the execution-state rules in detail.
  4. Trace, if present, is ETE. Armv9 does not require a trace unit. If a PE trace unit is implemented, it must be the Embedded Trace Extension (FEAT_ETE; confirm the exact wording in DDI0487 A2), the v9 successor to ETMv4, programmed through TRC* system registers. The Trace Buffer Extension (FEAT_TRBE), which writes trace to memory through a per-PE buffer (TRBBASER_EL1, TRBPTR_EL1, TRBLIMITR_EL1), is optional. Discover them through ID_AA64DFR0_EL1.TraceVer and .TraceBuffer. See 16.6.
  5. A few removals. For example, the OS Double Lock (FEAT_DoubleLock) is not permitted in v9 (16.1). Check A2 for the complete list of features that are optional in v8 but not permitted in v9.

That is the whole difference at v9.0. Most features associated with “v9” in marketing, such as MTE, RME, SME and BRBE, are optional, and several of them are also permitted in v8.x implementations.

Bring-up note: “We moved to a v9 core” changes the EL3 checklist in practice, even though the architectural delta is small. SVE2 means CPTR_EL3.EZ and ZCR_EL3, plus per-world Z/P/FFR context if any world uses SVE (15.3). ETE/TRBE mean MDCR_EL3 trace-buffer and trace-filter controls (17.3). Losing AArch32 means SCR_EL3.RW and HCR_EL2.RW must be 1, and that any AArch32 BL32 or BL33 legacy payload will not run.

The optional v9.x features

After v9.0, each v9.n release equals the matching v8.(n+5) plus features that exist only on the v9 line. The table groups the significant v9-line optional features by the year Arm published them. The exact “permitted from” version of each is in A2. Do not infer it from the year, because some features are permitted one version earlier than the release that introduced them.

Extensions yearVersionNotable v9-only optional featuresShared with v8 (permitted in v8.x too)
2019v9.1 / v8.6none of noteFEAT_FGT, FEAT_ECV, FEAT_BF16, FEAT_I8MM, FEAT_AMUv1p1, FEAT_TWED, FEAT_MTPMU
2020v9.2 / v8.7FEAT_RME (Realm Management Extension, Arm CCA), FEAT_SME, FEAT_BRBE, FEAT_MEC (an RME extension added to the Arm ARM later; see A2 for its version)FEAT_HCX, FEAT_WFxT, FEAT_XS, FEAT_LS64, FEAT_MTE3, FEAT_PMUv3p7, FEAT_SPEv1p2, FEAT_AFP
2021v9.3 / v8.8none of noteFEAT_MOPS, FEAT_NMI, FEAT_HBC, FEAT_TIDCP1, FEAT_CMOW, FEAT_PMUv3p8
2022v9.4 / v8.9FEAT_SME2 (A2 permits it from v9.2), FEAT_GCS, FEAT_D128/FEAT_SYSREG128, FEAT_LSE128, FEAT_SVE2p1/FEAT_SME2p1FEAT_THE, FEAT_S1PIE/FEAT_S2PIE, FEAT_S1POE/FEAT_S2POE, FEAT_TCR2, FEAT_SCTLR2, FEAT_CSSC, FEAT_RASv2, FEAT_ECBHB, FEAT_SPEv1p4, FEAT_PMUv3p9, MTE refinements (FEAT_MTE4 and related)
2023v9.5FEAT_FP8 and FPMR, FEAT_CPA, FEAT_PAuth_LR, FEAT_HDBSS/FEAT_HACDBS, RME GPT updates (FEAT_RME_GPC2), EL3 write traps (FEAT_FGWTE3), SError delegation, breakpoint mismatch/range updatesnone: no v8 counterpart exists
2024v9.6FEAT_LSUI, FEAT_CMPBR, FEAT_OCCMO, FEAT_UINJ, FEAT_SVE2p2/FEAT_SME2p2, SME quarter-tile and structured-sparsity ops, MPAM domains, FEAT_RME_GPC3, bitwise locking of EL1 system registers, producer-consumer hintsnone
2025 onwardv9.7+for example TLBI domains and MPAMv2; see Arm’s A-profile Architecture Extensions pagenone

A few points this table hides:

  • RME and SME have no v8 form. They exist only on the v9 line and are optional even at v9.6. A v9.2 core may implement neither.
  • Security features are spread across both lines. PAuth (v8.3), BTI and MTE (v8.5), and the 2022 permission indirection, overlays and THE are all v8-line features that v9 inherited. “Armv9 security” is mostly a v8 story. RME is the exception (Part 12, Part 13).
  • Mandatory-from dates still advance on the v9 line. Features such as FEAT_CLRBHB (mandatory from v8.9, and so from v9.4) become mandatory on both lines together.

Why “a v9 core” tells you little

Consider what is guaranteed by “v9.0” versus “v9.2” versus a particular core:

ClaimWhat you may assume
“Armv9.0”The v8.5 mandatory set, AArch64 at EL1–EL3, SVE2 in any rich-OS system, ETE if there is trace
“Armv9.2”Also the v8.7 mandatory set (for example FEAT_HCX; read the A2 list rather than recalling it). Not RME, not SME, not BRBE, not MTE
“Cortex-X / Neoverse V, v9.2”Nothing beyond the claimed version until you read its TRM: SVE vector length, MTE, RME, SME, AArch32 EL0, and SPE/TRBE/BRBE presence all vary by core and sometimes by configuration

Configurable options make this worse. Licensees choose options at integration time: crypto extensions (export rules), sometimes cache sizes, and the presence of particular trace or RAS components. Two SoCs with the same core and revision can report different ID_AA64ISAR0_EL1 crypto fields. And SVE predates v9: Neoverse V1, an Armv8.4 core, implements SVE with 256-bit vectors, while v9.0 cores such as Neoverse N2 have SVE2 with 128-bit vectors.

The working rule for firmware is the one from 1.1: detect each feature, then enable it. TF-A’s ENABLE_FEAT_*=2 and Linux’s capability framework exist because architecture versions are not a reliable proxy.

Validation note: A “v9.x compliance” claim cannot be checked as a single item. Build a per-feature matrix: for each FEAT_ in the claimed version’s mandatory set, check (a) the ID field matches the TRM, (b) the feature works (execute its instructions, access its registers), and (c) the higher-EL enable and trap bits behave, so that an untrapped access executes and a trapped one reports the expected ESR_ELx.EC. A missing mandatory feature, or an ID field that claims a feature the RTL does not have, is the kind of bug the Arm ACS suites catch late. Catching it early is cheap (18.6).

Checkpoint

Q1.2.1 A vendor states that their new SoC’s application cores are “Armv9.2-A”. A platform team plans to rely on Realm support (Arm CCA) for a confidential-VM product. What is the correct conclusion?

  • A. Realm support is guaranteed, because RME is a v9.2 feature
  • B. Realm support is guaranteed if SVE2 is present, because both come with the v9 baseline
  • C. Realm support cannot exist, because RME requires Armv9.4
  • D. Nothing yet. RME is optional at every v9.x, so check ID_AA64PFR0_EL1.RME on the cores and confirm the system-level pieces (GPT-capable SMMU, PAS-aware interconnect and memory protection)
Answer

D. FEAT_RME is permitted from v9.2 but never mandatory, and a CCA system needs system-architecture support beyond the PE (DEN0129). Option A confuses “introduced in” with “mandatory from”, which is the central mistake this section warns about. SVE2 has nothing to do with RME.

Read more: Arm ARM (DDI0487), A2 entry for FEAT_RME; ID_AA64PFR0_EL1.RME; Arm CCA system architecture (DEN0129)

Q1.2.2 A legacy platform has an AArch32 Secure-EL1 trusted OS that boots on an Armv8.2 core. The team ports it unchanged to an Armv9.0 core. What happens, and why?

  • A. It works, if SCR_EL3.RW is cleared so that the lower EL runs AArch32
  • B. It cannot run. Armv9 permits AArch32 only at EL0, so EL1 is AArch64-only
  • C. It works only in Non-secure state, because Armv9 removed AArch32 from Secure state only
  • D. It works if the core implements FEAT_AA32EL1, which every v9.0 core implements
Answer

B. In Armv9-A, EL1 and above are AArch64-only, and AArch32 is at most an EL0 option. On some later cores it is absent entirely. Option A is how this was done on v8 cores that supported AArch32 at EL1. On a core where ID_AA64PFR0_EL1.EL1 reads 0b0001 (AArch64 only), the RW control cannot select AArch32. The trusted OS must be ported to AArch64 (or run as an EL0 AArch32 component under an AArch64 S-EL1).

Read more: Arm ARM (DDI0487), A2 Armv9-A requirements; ID_AA64PFR0_EL1.EL1; SCR_EL3.RW

Q1.2.3 Which statement about Armv9.0 and SVE2 matches current DDI0487 wording most precisely?

  • A. FEAT_SVE2 is OPTIONAL from Armv9.0, but Armv9-A systems supporting standard rich operating systems must provide it. Software should still check ID_AA64PFR0_EL1.SVE and ID_AA64ZFR0_EL1.SVEver
  • B. FEAT_SVE2 is mandatory in every Armv9.0 PE without exception, so its ID fields can be ignored
  • C. FEAT_SVE2 is permitted only from Armv9.2, together with SME
  • D. FEAT_SVE2 is an Armv8.5 mandatory feature, inherited unchanged by v9.0
Answer

A. Arm launched v9 with SVE2 as a headline feature, and compilers enable it for -march=armv9-a. The Arm ARM, however, words the requirement through the rich-OS system condition, not as an unconditional PE requirement. B is the popular simplification, and it is still dangerous for firmware on unusual PEs. SVE and SVE2 are not mandatory at any v8.x.

Read more: Arm ARM (DDI0487), A2 entry for FEAT_SVE2; ID_AA64ZFR0_EL1