M5 Series CPU and powerDraft
What works is on the status page. The values of the descriptor are on the device page.
Cores and clusters#
The M5 Pro descriptor lists three clusters that have a performance-state
control (PSC) register. The register of cluster c is at the base address
plus c times the cluster stride; both numbers are in the descriptor and the
code comment records them as proven on hardware. The code carries a frequency
table per cluster: two clusters with 15 steps from 1344 MHz to 4380 MHz and one
with 20 steps from 1308 MHz to 4608 MHz. The comments state that the tables are
the frequency states of three voltage-states*-sram properties of the
/arm-io/pmgr node. The same comments record the mapping of tables to
clusters as an observation, and the link to the device index as inferred
(cpuperf_t6050.c). The observation itself is not published here.
Frequency control#
The source calls the CPU frequency code a shim: Windows has no Apple DVFS
driver, and the stated exit path is ACPI CPPC with EL2-backed registers and
later a native driver. The pure logic (state machine, policy, guard) is in
cpuperf_*.c and is covered by host tests; the hardware-specific data are the
tables above.
Memory frequency scaling#
Memory and fabric frequency scaling is selected by the quirk pmc-dvfs-voter
and compiled only into images built with MEMDVFS=1. At guest launch the main
core writes the CLPC floor and sets the voter enable bits on the DCS and
SOC rails. Then every 100 ms a tick counts the busy guest CPUs and moves the
floor up at once and down one step at a time after a quiet second. The code
comment records that without the enable bits the memory controller and fabric
stay at their boot state and gives bandwidth figures from hardware runs; those
runs are not part of the published hardware results, so the figures are not
repeated here. Without the quirk no PMC write is made.
Thermal handling#
The code has a thermal guard, a pure state machine fed with temperature
samples, and a table of the CPU-cluster temperature sites of this SoC
(tsens_t6050.c). The guard's per-cluster limits are configured for this SoC
(cpuperf_guard_cfg_t6050). The comment there records that one voltage cap is
switched off because the temperature decode still reads too high. The sensor
table the guard reads is empty in this tree, so the guard is disarmed, as its
header says.
Fans#
The fan control loop is not documented on this page. No statement about it is made.
Not verified or unknown#
- No published hardware result covers frequency scaling, memory scaling or the
thermal guard; the features are
experimentalin the status matrix. - The temperature decode used by the guard is recorded as unresolved in the code comments.
- Nothing here applies to the experimental SoC: its descriptor has no PSC data and no quirks.