Part 13: Hardening features
Prerequisites: 2.4, 3.2, 5.2, 5.5, 6.5, 8.5
If you already know: If you have shipped -mbranch-protection=standard in TF-A or a kernel, skim 13.1 for FPAC and FEAT_PAuth_LR only. Do not skip 13.3: the PAC, TBI and MTE interactions are where configurations quietly go wrong.
Why this matters for bring-up/validation: Every feature here arrives trapped or disabled until EL3 and EL2 enable it and context-switch its state. MTE in particular depends on memory-controller tag storage that firmware must reserve, protect and describe, so its failures are platform failures as much as CPU ones.
This part covers the architectural defences against memory-corruption exploits, in the order an attacker meets them. Pointer Authentication and BTI (13.1) constrain control flow probabilistically: a signed return address, and a landing pad for every indirect branch. The Guarded Control Stack makes return addresses unforgeable, and the Translation Hardening Extension gives the kernel a checked update path for its own page tables (13.2). The recurring firmware lesson is that these features share state across Exception levels (one set of PAuth keys, one GCR_EL1), so each layer that uses them must install and restore its own state.
The second half is the Memory Tagging Extension. 13.3 first settles who owns the upper pointer bits (TTBR select, TBI, MTE tag, PAC) and what FAR reports. 13.4 and 13.5 cover the data model, instructions and checking modes, and 13.6 widens the view to the SoC: the enable chain, tag-storage carve-outs, stage 2, devices, the 2022 MTE extensions, the security limits including speculative tag leakage, and how to validate MTE before silicon.