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 G: References

The documents this book cites, grouped by what you would go to them for. Arm document numbers are stable across issues, so they are the best search key on developer.arm.com. Always use the latest issue unless a section says it depends on a specific one. The book tracks DDI0487 issue M.a and its Known Issues document (Introduction). How to navigate the Arm ARM itself is covered in Reading the Arm ARM.

The Arm ARM and its satellites

DocumentNumberUse it for
Arm Architecture Reference Manual for A-profile architectureDDI0487The authority for everything in this book
Arm ARM Known Issues102105Corrections and clarifications against a given DDI0487 issue (for example the DMB shareability redefinition in 7.5)
Arm A-profile Architecture RegistersDDI0601One page per system register, per release, with the Accessing pseudocode (traps and ECs)
A64 Instruction Set ArchitectureDDI0602Per-release instruction descriptions
Arm Architecture Machine Readable Specification(XML / JSON releases)Generated headers, disassemblers and test generators
Feature names in A-profile architecture109697Quick map of FEAT_ names to versions; check against DDI0487 A2
Arm A-profile Architecture Extensions pages(web)Features newer than the tracked DDI0487 issue
Armv8-M Architecture Reference ManualDDI0553Only for comparison with the M-profile book

Where to look in DDI0487

Chapter numbers move between issues, so look things up by part and title. Chapter A2 is the one chapter cited by number.

TopicPart and section titleBook sections
FEAT_ list, permitted-from and mandatory-from versions, feature dependenciesChapter A2, the list of architecture extensions1.1, Appendix A
Memory model: observability, completion, barriers, atomicity, the formal definitionPart B, the AArch64 application-level memory modelParts 6, 7, 10
Caches and cache maintenance; points of coherencyPart B, caches and memory hierarchy; Part D, cache maintenance instructionsPart 8
Individual instructions (LDAPR, DC CIVAC, TLBI RVAE1IS…)Part C, alphabetical instruction descriptionsthroughout
Exceptions, routing, ESR encodingsPart D, the AArch64 exception model; ESR_ELx register descriptionPart 3, Appendix D
Translation (VMSA), TLB maintenance, break-before-makePart D, the AArch64 virtual memory system architectureParts 5, 9
System register synchronization requirementsPart D, “Synchronization requirements for AArch64 System registers”7.8
Generic TimerPart D (system registers) and Part I (memory-mapped frames)4.6
Self-hosted debug, PMU, AMU, MTE, RMEPart D, the corresponding chaptersParts 12, 13, 16
External debugPart H16.2
Pseudocode libraryPart Jwhen the prose is ambiguous
Barrier litmus tests, recommended sequences, constraints on UNPREDICTABLEPart K appendices7.3, Appendix C
Definitions of IMPLEMENTATION DEFINED, UNKNOWN and the other qualifiersGlossaryAppendix F

Companion architecture specifications

SpecificationNumberBook sections
GICv3 and GICv4 architectureIHI0069Part 4, 11.4
GICv5 architectureAES00704.1
SMMUv3 architectureIHI00708.7, 11.5
RAS extension (Reliability, Availability, Serviceability)DDI05873.4, 16.7, 16.8
RME system architectureDEN012912.4
RME and MEC example software flows (granule transitions, MECID handling)10983912.4, 12.5
AMBA CHI protocolIHI00508.3
CoreSight PMU architectureIHI009116.5
MPAM architecturesee the MPAM supplement on developer.arm.com8.9

Firmware interfaces and platform standards

SpecificationNumberBook sections
Power State Coordination Interface (PSCI)DEN002212.3, 17.4
SMC Calling Convention (SMCCC)DEN00281.3, 12.3
Firmware Framework for A-profile (FF-A)DEN007712.3
Software Delegated Exception Interface (SDEI)DEN005416.8
System Control and Management Interface (SCMI)DEN005610.4, 17.4
Errata Management Firmware Interface (Errata ABI)DEN01001.3
Trusted Board Boot Requirements (TBBR)DEN000612.2
IO Remapping Table (IORT)DEN00494.4, 11.5
Arm Performance Monitoring Unit Table (APMT)DEN011716.5
Base System Architecture (BSA)DEN009418.6
Server Base System Architecture (SBSA)DEN002918.6
Base Boot Requirements (BBR)DEN004418.6

Implementation documents

  • Core Technical Reference Manuals (TRMs): IMPLEMENTATION DEFINED registers (CPUACTLR_EL1, CPUECTLR_EL1, CPUPWRCTLR_EL1), reset behaviour, cache geometry, PMU event lists (1.3).
  • Software Developer Errata Notices (SDENs): per-core errata with category and fixed-in revision (1.3).
  • DSU and CMN TRMs: cluster and interconnect power, cache and PMU controls (8.3, 8.8).
  • GIC-600 / GIC-700 TRMs: GICR_PWRR, multichip registers, error records (4.5).

Arm “Learn the architecture” guides

Introductory, not normative. When a guide and DDI0487 disagree, DDI0487 wins. Search for the title on developer.arm.com.

GuideNumberPairs with
Memory Systems, Ordering, and Barriers102336Part 7
AArch64 memory management101811Part 5, Part 9
AArch64 memory attributes and properties102376Part 6
AArch64 Exception Model102412Part 3
Generic Timer1023794.6
Arm GIC v3 and v4: Overview (formerly the GICv3 and GICv4 Software Overview, DAI0492)198123Part 4
AArch64 virtualization102142Part 11
TrustZone for AArch6410241812.1
Realm Management ExtensionDEN012612.4

The memory model as code: herdtools7

  • herdtools7 (herd7, litmus7, diy7): github.com/herd/herdtools7. herd7 evaluates a litmus test against a model; litmus7 runs it on hardware; diy7 generates test families (7.11, Lab setup).
  • aarch64.cat: the Arm memory model in herd’s cat language, shipped in the herdtools7 herd/libdir directory. It is the executable form of the definition in DDI0487 Part B (7.3).
  • Background papers: Pulte, Flur, Deacon et al., “Simplifying ARM Concurrency: Multicopy-Atomic Axiomatic and Operational Models for ARMv8” (POPL 2018), which describes the 2017 move to other-multi-copy atomicity (7.2); Alglave, Maranget, Tautschnig, “Herding Cats” (TOPLAS 2014), on the cat modelling approach.

Firmware and OS sources

  • Trusted Firmware-A: source at git.trustedfirmware.org/TF-A/trusted-firmware-a.git, documentation at trustedfirmware-a.readthedocs.io. The book’s worked examples come from bl1/, bl31/, include/arch/aarch64/el3_common_macros.S, lib/xlat_tables_v2/, lib/cpus/aarch64/ (errata and power-down), lib/el3_runtime/aarch64/context_mgmt.c, lib/psci/ and drivers/arm/gic/v3/. The Firmware Design, Porting Guide, Build Options and CPU Specific Build Macros pages are the ones to read first.
  • TF-A Tests (TFTF): git.trustedfirmware.org/TF-A/tf-a-tests.git, directed tests for PSCI, features and context switching (18.5).
  • TF-RMM: the Realm Management Monitor reference implementation, for RME and MEC flows (12.4).
  • Linux arm64 (reference mapping only): arch/arm64/include/asm/barrier.h, io.h, tlbflush.h, cacheflush.h, arch_timer.h; arch/arm64/mm/cache.S and dma-mapping.c; arch/arm64/kernel/head.S and cpufeature.c; and Documentation/arch/arm64/booting.rst for the kernel entry contract (17.6). The kernel’s tools/memory-model/ holds the Linux kernel memory model, also in cat form.

Models and tools

  • QEMU qemu-system-aarch64, machine virt (secure=on,virtualization=on), with -d int,mmu,guest_errors and the gdbstub (Lab setup).
  • Arm Fixed Virtual Platforms (FVP_Base_RevC-2xAEMvA): feature parameters, Tarmac trace, and cache-state modelling (cache_state_modelled) (Lab setup, 18.4).
  • Arm Architecture Compliance Suites (ACS for BSA, SBSA and SystemReady) (18.6).