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

Appendix F: Glossary

Short definitions of the terms this book uses, with the section that treats each one. Where a term is defined in the Arm ARM, the wording here follows DDI0487, and the DDI0487 glossary entry is the definition that counts (Reading the Arm ARM). Terms that are Arm or industry usage rather than architecture (for example DSU, CMN, hold pen) are marked (non-architectural).

Architectural qualifiers

These words, set in small capitals in the Arm ARM, decide what software may rely on.

TermMeaningSee
IMPLEMENTATION DEFINEDBehaviour that the architecture does not fix, and that the implementation must document. Software may rely on it only for that implementationReading the Arm ARM
UNKNOWNAn unspecified value that may differ between resets and between PEs, that must not be relied on, and that does not expose information the current EL and Security state could not otherwise access. “Zero on the model” is not a definition17.1
UNPREDICTABLEBehaviour that software must never cause and must not rely on. It cannot be a security hole beyond what the current EL and Security state can already doReading the Arm ARM
CONSTRAINED UNPREDICTABLEUNPREDICTABLE behaviour limited to a listed set of permitted outcomes (Part K of DDI0487 lists them; ConstrainUnpredictable() in pseudocode)Reading the Arm ARM, 8.6
RES0 / RES1Reserved bits. Software writes RES1 bits as 1 and RES0 bits as 0, and must not rely on reading them back, because a later version may give them meaning17.2
RAZ/WI, RAO/WIRead-as-zero (or one), writes ignoredReading the Arm ARM
Permitted from / mandatory fromThe first architecture version in which an implementation may include a feature, and the first in which a compliant implementation must. Taken from DDI0487 chapter A21.1
FEAT_xxxThe architecture’s name for an extension. Presence is discovered only from ID registers, never from the version number1.1

Terms

Access flag (AF). Descriptor bit that records that a page or block has been accessed. If AF=0 and hardware management is off, an access takes an Access flag fault. 5.6

Acquire / release. One-way barriers carried by a load (LDAR, LDAPR) or a store (STLR). Acquire orders later accesses after the load; release orders earlier accesses before the store. RCsc (LDAR/STLR) additionally orders a release before a later acquire; RCpc (LDAPR, FEAT_LRCPC) does not. 7.7

Affinity. The hierarchical core address in MPIDR_EL1 (Aff3.Aff2.Aff1.Aff0), used by PSCI and by GICv3 routing. Its layout is IMPLEMENTATION DEFINED. 17.4

Affinity routing. GICv3 mode (GICD_CTLR.ARE_*) in which SPIs are routed by GICD_IROUTER<n> affinity values rather than the legacy 8-bit target mask. 4.1, 4.5

AMU (Activity Monitors Unit). Architected, always-counting event counters (AMEVCNTR0n_EL0 and auxiliary counters) for power and performance management. 16.4

ASID (Address Space Identifier). Tag on non-global TLB entries for regimes with two VA ranges, taken from TTBR0_EL1 or TTBR1_EL1 per TCR_EL1.A1. 9.1

Barrier. An instruction that constrains order (DMB), completion (DSB), context (ISB), speculation (CSDB, SB, SSBB, PSSBB) or trace and profiling (TSB, PSB). 7.5, 7.6, 7.8, 14.1

BBM (break-before-make). Replacing a valid descriptor by first writing an invalid one, invalidating the TLBs, and only then writing the new one. Required for changes of output address, memory type, shareability or block size. FEAT_BBM levels relax the block-size case. 9.2

BHB (branch history buffer). Prediction state indexed by recent branch history. Its cross-context training is the Spectre-BHB problem. 14.4

BL1, BL2, BL31, BL32, BL33 (TF-A). Boot ROM stage, trusted boot loader, EL3 runtime firmware, Secure-world payload (for example OP-TEE or an SPMC), and Non-secure boot loader (for example UEFI or U-Boot). 12.2, 17.1

BTI (Branch Target Identification). FEAT_BTI: indirect branches must land on a BTI (or another landing-pad instruction) in guarded pages. 13.1

Cache maintenance operation (CMO). DC or IC instruction that cleans, invalidates, or both, by VA, by set/way, or (at EL3) by PA, to a named point. 8.5

CHI, ACE (AMBA). Arm’s coherent interconnect protocols: CHI (packet-based, used by CMN meshes) and ACE (the AXI coherency extension). ACE-Lite is the IO-coherent subset. 8.3

Clean / invalidate. Clean writes a dirty line back towards the named point and leaves it valid. Invalidate discards the line, including any dirty data. 8.5

CMN (non-architectural). Arm’s Coherent Mesh Network interconnect, with home nodes (HN-F) holding the snoop filter and system-level cache. 8.3

CMODX. Concurrent modification and execution of instructions: changing code another PE may be fetching. Defined only for a small set of instructions. 8.6

Coherence order. For each location, the single total order of all writes to it, agreed by all observers. 7.1

Cold reset, Warm reset. Cold reset resets all PE logic in the Core power domain, including debug state. Warm reset resets the execution logic but not the debug state. Neither resets the system (GIC, counter, interconnect). 17.1

Complete. A read or write is complete for a shareability domain when it is globally observed in that domain and any associated walks are complete. TLB and cache maintenance have their own completion rules. DSB waits for completion. 7.1, 7.6

Context synchronization event (CSE). ISB, exception entry (unless SCTLR_ELx.EIS=0 with FEAT_ExS), exception return (unless EOS=0), exit from Debug state, and DCPS/DRPS in Debug state. After a CSE, later instructions see all earlier context-changing operations. 7.8

Contiguous bit. Descriptor hint that a naturally aligned set of entries maps a contiguous range with identical attributes, so one TLB entry can cover it. 5.3

CWG, ERG, DminLine, IminLine. Fields of CTR_EL0: cache writeback granule (largest block a writeback may cover), exclusives reservation granule, and the smallest data and instruction cache line sizes. 8.1, 10.1

DBM (dirty bit modifier). Descriptor bit that lets hardware (FEAT_HAFDBS) mark a page dirty by clearing its read-only state. 5.6

Dependency (address, data, control). A register dataflow from a load into the address of a later access, into the data of a later store, or into a branch condition before a later access. Address and data dependencies order the later access; a control dependency orders only later stores, unless followed by an ISB. 7.4

Device memory (nGnRnE, nGnRE, nGRE, GRE). Memory type for peripherals: never speculatively read, with the Gathering, Reordering and Early write acknowledgement attributes each either permitted (G, R, E) or not (nG, nR, nE). 6.2, 7.9

DSU (DynamIQ Shared Unit) (non-architectural). The cluster-level block of DynamIQ cores: L3 cache, snoop control and power control. 8.8

DVM (Distributed Virtual Memory) messages. Interconnect messages that carry broadcast TLBI, IC and related operations, and the DVM Sync that a DSB waits for. 8.3, 9.1

EC (Exception Class). ESR_ELx[31:26]: what kind of exception was taken, which determines how the ISS is decoded. 3.2, Appendix D

ESB, IESB. Error Synchronization Barrier, and Implicit ESB at exception entry and return (SCTLR_ELx.IESB), which make pending SErrors visible at a defined point. 3.4

Exception level (EL0–EL3). Privilege level. Each EL has its own system registers with the _ELx suffix. 2.1

Exclusive monitor. Local and global state that makes LDXR/STXR pairs atomic: the store fails if the reservation granule may have been written since the load. 10.1

FAR, HPFAR, PFAR. Fault address registers: the faulting VA (FAR_ELx), the faulting IPA for stage 2 (HPFAR_EL2), and the faulting PA (PFAR_ELx, FEAT_PFAR). 5.8

FF-A, PSCI, SMCCC, SDEI, SCMI. Firmware interfaces: the Firmware Framework for A-profile (partition messaging, DEN0077), power state coordination (DEN0022), the SMC/HVC calling convention (DEN0028), software-delegated exceptions (DEN0054), and the system control and management interface to an SCP (DEN0056). 12.3, Appendix G

Fine-grained traps (FGT). FEAT_FGT registers (HFGRTR_EL2 and others) that trap individual system-register and instruction accesses to EL2. 11.1

Firmware-first / kernel-first error handling. Whether a RAS error is first taken by EL3 firmware (SCR_EL3.EA=1) or by the OS. 16.8

GCS (Guarded Control Stack). FEAT_GCS: a hardware-protected shadow stack of return addresses. 13.2

Globally observed. Observed by every observer in a given shareability domain. 7.1

GPT, GPC, GPI. Granule Protection Table, Granule Protection Check and Granule Protection Information: the RME mechanism that assigns each physical granule to a physical address space and checks every access against it. 12.4

Granule. The translation granule (4 KB, 16 KB or 64 KB) that sets page size and table geometry. Also, in RME, the unit of physical memory a GPT entry describes. 5.2

Hold pen (non-architectural). A loop in which a secondary core waits (usually in WFE) for a mailbox write that releases it. 17.4

Identity map (idmap). A mapping with VA = PA, needed for the code that turns the MMU on or off. 9.3

Illegal exception return. An ERET to a state that is not permitted (for example an EL not implemented or not enabled). The PE stays at the current EL with PSTATE.IL set, and the next instruction takes an Illegal Execution state exception (EC 0x0E). 3.2

Inner / Outer. The two cacheability levels a memory type describes. Which caches are “inner” is IMPLEMENTATION DEFINED. 6.3

IPA (intermediate physical address). Output of stage 1 and input of stage 2 when EL2 virtualization is active. 5.1, 11.3

ISS (Instruction Specific Syndrome). ESR_ELx[24:0], decoded according to the EC. For aborts it holds the DFSC/IFSC fault status code and fields such as WnR, S1PTW and CM. 5.8, Appendix D

ITS (Interrupt Translation Service). GICv3 block that translates an MSI (DeviceID, EventID) into an LPI for a target Redistributor. 4.4

Litmus test. A small multi-threaded program with a question about a final state, used to state and test memory-model rules (MP, SB, LB, WRC, IRIW). 7.3, 7.11

LSE (Large System Extensions). FEAT_LSE single-instruction atomics (LDADD, CAS, SWP and related), which may be performed “far” in the interconnect. 10.2

MEC (Memory Encryption Contexts). FEAT_MEC: per-Realm memory encryption selected by a MECID. 12.5

Mismatched attributes. Two mappings of one PA with different memory type, cacheability or shareability. The architecture defines only limited guarantees for them. 6.6

MPAM. Memory System Resource Partitioning and Monitoring: PARTID and PMG labels on requests, acted on by memory-system components (MSCs). 8.9

MTE (Memory Tagging Extension). FEAT_MTE2 and related: 4-bit allocation tags per 16-byte granule, checked against pointer tags. 13.4, 13.5

Multi-copy atomicity (other-multi-copy atomic). The Armv8 property that once a write is observed by any observer other than the writing PE, it is observed by all of them. 7.2

nG (not global). Descriptor bit making a translation ASID-specific. 9.1

Normal memory. Memory type for RAM: may be accessed speculatively, merged and reordered, with Inner and Outer cacheability attributes. 6.2

Observer; observed by. An observer is any agent that can access memory. A write is observed by an observer when a later read by that observer returns it (or a coherence-later value), and a later write by it is coherence-after it. A read is observed when a later write by that observer can no longer affect it. 7.1

PAC (Pointer Authentication). FEAT_PAuth: a cryptographic signature in a pointer’s unused upper bits, added with PAC* and checked with AUT*. 13.1

PAN, UAO, EPAN. Privileged Access Never (privileged accesses to EL0-accessible memory fault), User Access Override (LDTR/STTR behave as normal accesses), and Enhanced PAN (also for execute-only EL0 pages). 5.5

PAS (physical address space). Under RME, one of four: Secure, Non-secure, Realm, Root. The PAS is effectively part of the physical address up to the PoPA. 12.4

PE (processing element). The architecture’s word for whatever executes instructions: a core, or a hardware thread of a multithreaded core. 2.1

PIE, POE. Permission indirection (FEAT_S1PIE/S2PIE: descriptor bits index a permission table in PIR_ELx/S2PIR_EL2) and permission overlays (FEAT_S1POE/S2POE: POR_ELx, or S2POR_EL1 for stage 2, restricts permissions per POIndex). 5.5

PMU (Performance Monitors). PMUv3 event counters and cycle counter (PMEVCNTRn_EL0, PMCCNTR_EL0). 16.3, 16.5

Point of Coherency (PoC). The point at which all observers that can access memory (PEs, DMA masters and others) are guaranteed to see the same copy of a location. Cleaning to the PoC is what a non-coherent master needs. 8.4

Point of Unification (PoU). The point at which a PE’s instruction caches, data caches and translation table walks are guaranteed to see the same copy. PoU for the Inner Shareable domain extends this to every PE in that domain. 8.4

PoP, PoDP, PoPA, PoE, PoPS. Further points: Persistence (FEAT_DPB), Deep Persistence (FEAT_DPB2), Physical Aliasing (FEAT_RME, where all PAS aliases of a PA meet), Encryption (FEAT_MEC), and Physical Storage (FEAT_PoPS). 8.4

PPU (non-architectural). Power Policy Unit: the hardware power-state controller for a core or cluster domain. 8.8

Program order. The order of instructions in one PE’s execution as the sequential ISA semantics define it. 7.1

RAS. Reliability, Availability and Serviceability: the error-record architecture (ERRnSTATUS and related), error synchronization and reporting. 16.7

Realm, Root. The Security states added by RME: Realm for confidential VMs, Root for EL3. 12.4

Redistributor. Per-PE GICv3 block that holds SGI, PPI and LPI state and connects to the CPU interface. 4.1

RME (Realm Management Extension). FEAT_RME: Realm and Root states, four physical address spaces, and granule protection checks. 12.4

Running priority. The priority of the highest-priority active interrupt at a CPU interface (ICC_RPR_EL1). Only higher-priority interrupts can preempt. 4.3

SDEN (non-architectural). Software Developer Errata Notice: Arm’s per-core errata document, matched to MIDR_EL1 variant and revision. 1.3

Security state. Secure, Non-secure, and with RME also Realm and Root. Determined by EL and SCR_EL3.{NS,NSE}. 2.1, 12.1

SError. The asynchronous System Error exception, usually an external abort that could not be reported synchronously. 3.4

Set/way operation. A DC ISW/CSW/CISW that names a cache line by level, set and way. Local, not broadcast, and correct only for initialisation and power-down of the local hierarchy. 8.5

SGI, PPI, SPI, LPI. GICv3 interrupt types: software-generated (INTID 0–15), private peripheral (16–31), shared peripheral (32–1019, plus the extended ranges), and locality-specific peripheral (message-based, INTID 8192 and up). 4.2

Shareability domain (Non-shareable, Inner Shareable, Outer Shareable, Full system). A set of observers. Hardware keeps data coherent among the observers in the domain of a cacheable mapping. Device and Normal Non-cacheable memory are always treated as Outer Shareable. 6.4

Single-copy atomicity. A single access whose effect is observed whole or not at all: aligned accesses up to 64 bits, plus the wider forms the feature set adds. 7.2, 10.3

SMMU (System MMU). SMMUv3: translation and protection for DMA masters, configured through stream table entries (STEs) and context descriptors (CDs). 11.5

SPMC, SPD (firmware). The FF-A Secure Partition Manager Core (at S-EL2, S-EL1 or, in TF-A’s EL3 SPMC, EL3), and TF-A’s Secure Payload Dispatcher that connects BL31 to a Secure OS such as OP-TEE. 12.3

Stage 1, stage 2. The two translation stages: stage 1 (VA to IPA or PA, owned by the OS or firmware) and stage 2 (IPA to PA, owned by EL2). 5.1

System register encoding. op0, op1, CRn, CRm, op2, written S<op0>_<op1>_C<n>_C<m>_<op2> when the assembler lacks a name. 2.5

Tarmac trace (tool). The FVP’s instruction-level trace, including register writes, memory accesses and translation walks. Lab setup, 5.9

TLB conflict abort. Fault (fault status 0b110000) that an implementation may raise when more than one TLB entry matches an access. 9.2

TLBI. TLB maintenance instruction: TLBI <type><level>{IS|OS}{nXS}. It is complete only after a following DSB. 9.1

Translation regime. The set of translation tables, registers and stages used for an access at a given EL: EL1&0 (in each Security state, with or without stage 2), EL2, EL2&0 (VHE) and EL3. Only the EL1&0 regime has a stage 2. 5.1

TTL hint. FEAT_TTL field in a TLBI operand that gives the level and granule of the leaf being invalidated. A wrong value may leave the entry in place. 9.1

VHE (Virtualization Host Extensions). FEAT_VHE: HCR_EL2.E2H=1 lets a host OS run at EL2, with _EL12/_EL02 aliases for the EL1 registers. 11.2

VMID. Tag on the EL1&0 regime’s stage 1, stage 2 and combined TLB entries for a guest, from VTTBR_EL2.VMID. 9.1

Walk cache. TLB storage for intermediate (table-level) walk results. Removed by non-leaf TLBI forms, not by the ...L (last-level) forms. 9.1, 9.2

Warm boot (TF-A). A core’s return through the PSCI warm-boot path after CPU_ON or a power-down suspend. Architecturally this is usually a Cold reset of that core, because its power domain was off. 17.1

WFE, WFI, SEV, event register. Wait-for-event and wait-for-interrupt hints. WFE sleeps until the event register is set (by SEV, a cleared global monitor, the event stream, or an interrupt). 10.4

XS attribute, nXS. FEAT_XS: marks accesses that may be slow to complete, so that TLBI ...nXS and DSB ...nXS need not wait for them. 9.1