M5 Series platform blocksDraft
The generic mechanism is on the architecture overview. The device-tree nodes and the compatible strings of this generation are generated on the hardware blocks page. What works is on the status page.
Interrupt controller#
The machine has no GIC. The interrupt controller is Apple's AIC, and in the
sanitised device tree of the M5 Pro its compatible is aic,3, one of the three
versions the boot code accepts (openboot/src/aic.c). EL2 presents a virtual
GICv3 to the guest on top of it (el2_vgic.c, vgic.c; the second file states
that it is a model over AIC version 3 of this SoC). The comments of the
interrupt-forwarding code record every AIC vector of this SoC as
level-triggered, with the vector numbers of individual blocks written into
code (agx_irqfwd.c). The hardware results record this under the area "Virtual GIC and guest
interrupts".
IOMMU (DART)#
In the sanitised device tree, 42 IOMMU nodes report dart,t8110. The boot code has one driver with three
register layouts and picks one by compatible; dart,t8110 is the third.
Memory controller#
The memory controller reports mcc,t6050. The memory-controller code has no
register layout for it and logs "Unsupported version". Its carveouts are handled
by the quirk mcc-adt-carveouts: the trusted-zone regions are taken from the
/chosen/carveout-memory-map node instead of controller registers. The code
comment records that a load from two of those regions, the one used by the
storage coprocessor and a 32 MiB region below the framebuffer, is a synchronous
external abort plus a bus error on hardware, and that leaving them in the
read-write-execute map allowed an unattributable SError. The quirk
is scoped to the exact chip and board id pair; see
Named quirks.
SMC#
The system management controller is at /arm-io/smc. The EL2 code talks to it
through its ASC mailbox with a protocol engine of its own; the mailbox
address is a constant in the code (smc_xport_mbox.h). The source calls this
code a shim: Windows has no Apple DVFS or SMC driver, and the stated exit path
is ACPI CPPC backed by EL2 registers and later a native driver.
Not verified or unknown#
- The AIC, DART and ANS versions are read from one sanitised tree of one machine; no other SoC of this generation has been analysed.
- Whether the vector numbers written into the interrupt-forwarding code are specific to this SoC is inferred from its comments, not checked one by one.
- No other SoC of this generation has a descriptor or a device-tree fixture.