/arm-architecture-deep-dive:arm-system-architecture-boot-and-virtualizationfrom arm-architecture-deep-dive
Covers ARM system-level architecture: big.LITTLE/DynamIQ topologies, GIC interrupts/timers, AMBA interconnect/coherency, boot/firmware (Trusted Firmware vs x86), and virtualization (stage-2 translation, hypervisor exception level).
Ships in arm-architecture-deep-dive. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Part 4 of 6 of the ARM: A Deep Dive reference (plugin
arm-architecture-deep-dive), covering §16–§20. Sibling skills:arm-what-arm-is-licensing-families-and-isa-generations(§0–§4),arm-aarch64-exception-levels-memory-model-and-mmu(§5–§9),arm-vectors-atomics-numerics-and-security-architecture(§10–§15),arm-cortex-m-toolchain-porting-and-performance(§21–§25),arm-reference(§26–§31). Section numbers are shared across the set; a reference written as §N →skillpoints into that sibling skill.Currency: The architecture is documented and stable. Two things moved decisively. See §26 →
arm-referencefor Arm's business model, and its actual market position.
⚠️ ARM is a business model as much as an instruction set, and you cannot understand the architecture without understanding that. ⚠️ The design choices — modularity, optional extensions, profiles, strict architectural compliance — exist because the ISA has to be implementable by dozens of independent companies at wildly different power and performance points.
Builds on a microarchitecture reference (§20 ISA design, §8 →
arm-aarch64-exception-levels-memory-model-and-mmumemory consistency) and a semiconductor reference. Complements a digital-logic reference for the boot chain and a computer-hardware reference for the datacentre context.⚠️ GOTCHA boxes mark where ARM differs from x86 in ways that break assumptions.
The three ideas that organize this document:
- ⚠️ THE ARCHITECTURE IS A CONTRACT, NOT A CHIP (§1 →
arm-what-arm-is-licensing-families-and-isa-generations, §4 →arm-what-arm-is-licensing-families-and-isa-generations). "ARM" names a specification that Apple, Qualcomm, Amazon and a microcontroller vendor all implement completely differently. Statements about "ARM performance" are usually category errors.- ⚠️ THE WEAK MEMORY MODEL IS THE MOST CONSEQUENTIAL DIFFERENCE FROM x86 (§8 →
arm-aarch64-exception-levels-memory-model-and-mmu, §23 →arm-cortex-m-toolchain-porting-and-performance). Concurrent code that is correct on x86-TSO can be silently broken on ARM with no source change. This is the single most common real porting failure and it produces intermittent bugs.- ⚠️ SECURITY IS ARCHITECTED, NOT BOLTED ON (§13–§15 →
arm-vectors-atomics-numerics-and-security-architecture). TrustZone, pointer authentication, BTI, MTE and CCA are architectural features with silicon support — which is genuinely different from mitigation-by-software, and it is a large part of why ARM won mobile.
⚠️ Heterogeneous cores sharing one ISA — ⚠️ the property that makes it work is that all cores are architecturally identical, so a thread can migrate mid-execution.
⚠️ GOTCHA — and this is exactly what Intel's hybrid designs got wrong initially. ⚠️ If the big and little cores support DIFFERENT feature sets, a thread using a feature present only on one cannot migrate — which is why Intel disabled AVX-512 on its performance cores when the efficiency cores lacked it. ⚠️ ARM's insistence on architectural uniformity across a DynamIQ cluster avoids the problem by construction.
⚠️ The scheduling problem is the hard part — ⚠️ the OS must decide placement, and Energy Aware Scheduling uses a power model to do it. ⚠️ Getting this wrong produces the classic symptom of a fast chip that feels slow. ⚠️ DynamIQ replaced the original cluster arrangement, ⚠️ allowing mixed core types in one coherent cluster with shared L3 and per-core power control.
⚠️ The GIC (Generic Interrupt Controller) — ⚠️ GICv2, v3 and v4, with v3+ using system registers rather than MMIO for the CPU interface, which is substantially faster. ⚠️ Interrupt types: ⚠️ SPI (shared peripheral), PPI (private per-core), SGI (software-generated, for inter-processor interrupts), and LPI (message-signalled, via the ITS — which is how MSI-X scales on ARM servers). ⚠️ Affinity routing and priority, ⚠️ and GICv4's direct injection of virtual interrupts into guests without hypervisor involvement (§20). ⚠️ The Generic Timer is architected — ⚠️ a system counter plus per-core comparators, with virtual timer offsets for guests, which is why timekeeping on ARM VMs is cleaner than the x86 history of TSC problems.
⚠️ AMBA is the family of bus specifications, ⚠️ and it is as much a part of ARM's ecosystem lock-in as the ISA — third-party IP is built to talk AMBA. ⚠️ AXI (high performance, channel-based, out-of-order), AHB and APB (simple, peripheral), ⚠️ ACE (adds cache coherency), and ⚠️ CHI (Coherent Hub Interface — the scalable mesh-oriented protocol used in Neoverse-class designs). ⚠️ Coherent Mesh Networks scale to very high core counts, ⚠️ and interconnect design is a large share of why two chips using the same cores perform differently. ⚠️ External coherency: ⚠️ CCIX historically, and now CXL (see a microarchitecture reference §17). ⚠️ SMMU/IOMMU for device address translation and DMA protection (§20).
⚠️ Genuinely different from the x86 world, and a common source of confusion. See a digital-logic reference §21 for the general boot model.
⚠️ ⚠️ THERE IS NO ARCHITECTURAL EQUIVALENT OF THE PC BIOS.
⚠️ x86 has decades of de-facto platform standardization; ARM
platforms historically each booted their own way, which is
why "just install Linux on it" is easy on a PC and hard on
an ARM board
⚠️ THE STANDARD BOOT CHAIN ⚠️ BL1 (ROM) → BL2 → ⚠️ BL31 (EL3
RUNTIME — the secure monitor, stays resident) → BL32
(optional TEE) → ⚠️ BL33 (the normal-world bootloader:
U-Boot, EDK2/UEFI)
⚠️ ⚠️ TRUSTED FIRMWARE-A (TF-A) is the open reference
implementation of the secure world and monitor, and it is
what most platforms actually run
⚠️ ⚠️ PSCI (Power State Coordination Interface) ⚠️ the
standardized SMC-based interface by which the OS asks
firmware to power cores on and off. ⚠️ This is how CPU
hotplug and idle work portably
⚠️ ⚠️ THE STANDARDIZATION EFFORT THAT CHANGED THINGS
⚠️ SBSA/BSA (hardware requirements) and SBBR/BBR (firmware
requirements), under SystemReady certification
⚠️ ⚠️ THIS IS WHY ARM SERVERS BOOT A GENERIC OS IMAGE THE WAY
A PC DOES, AND MOST ARM SBCs AND PHONES DO NOT. ⚠️ The
difference is certification, not architecture
⚠️ DEVICE TREE vs ACPI ⚠️ embedded platforms use device tree;
⚠️ SystemReady servers use ACPI — and the split is a
long-running ecosystem argument
⚠️ EL2 is architected for it (§7 → arm-aarch64-exception-levels-memory-model-and-mmu), ⚠️ which is the structural advantage over x86's
retrofit.
⚠️ Stage 2 translation (§9 → arm-aarch64-exception-levels-memory-model-and-mmu) gives guest-physical to host-physical translation in
hardware.
⚠️ Trap and emulate via HCR_EL2 bits — ⚠️ the hypervisor chooses precisely which guest
operations trap.
⚠️ Virtual interrupts through the GIC (§17), ⚠️ and GICv4's direct injection removes
the hypervisor from the interrupt path entirely for many cases.
⚠️ VHE (Virtualization Host Extensions, ARMv8.1) is the pragmatic addition: ⚠️ it lets
a host kernel designed to run at EL1 run at EL2 with minimal changes, which is what made
KVM on ARM efficient rather than a split-mode compromise.
⚠️ SMMU for device passthrough with DMA isolation.
⚠️ Nested virtualization is supported in later revisions and is much harder.
What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/arm-aarch64-exception-levels-memory-model-and-mmuUse for the core architecture: AArch64 register and instruction design and how it differs from AArch32, the instruction set characteristics that matter to compilers and hand-written assembly, exception levels EL0 to EL3 and the privilege model, the weak memory model and the barriers and acquire-release semantics it forces, and the MMU with translation regimes, page table formats and TLB behaviour./arm-cortex-m-toolchain-porting-and-performanceUse when actually building or moving software onto ARM: Cortex-M and the embedded profile with its interrupt model and memory protection, the toolchain and ABI including calling conventions and the AAPCS, porting from x86 and the memory-ordering, intrinsics and undefined-behaviour traps that bite, performance analysis with PMU counters and the ARM-specific pitfalls, and the competitive landscape against x86 and RISC-V./arm-referenceUse when correcting an ARM misconception, looking up a register, exception level, cache, extension or performance figure, finding the sources, or needing a quick-reference picker — plus the current state of Arm's business model and its actual market position. Companion to the other ARM skills./arm-vectors-atomics-numerics-and-security-architectureUse for the extensions and the security architecture: the vector extensions NEON, SVE, SVE2 and SME and the vector-length-agnostic model, atomics and synchronization including the large system extensions, floating point and numerics, TrustZone and secure world separation, pointer authentication, branch target identification and memory tagging, and Confidential Compute Architecture with realms./arm-what-arm-is-licensing-families-and-isa-generationsUse when orienting on ARM or reading an ARM spec sheet: what the word ARM actually names across the company, the architecture and the cores, the licensing model and why it explains the ecosystem's shape, the Cortex-A, Cortex-R and Cortex-M product families and Neoverse, and the ISA generations from ARMv7 through ARMv9. Includes the router for the whole ARM reference.npx claudepluginhub the-vibey-project/vibey --plugin arm-architecture-deep-diveOther plugins' skills for the same job