Skip to content

arm64: dts: apple: t6040-j616s: switch the power allocator on near the trips - #857

Merged
RyanTheTide merged 1 commit into
aurora-wipfrom
fix/j616s-thermal-switch-on
Nov 2, 2026
Merged

RyanTheTide merged 1 commit into
aurora-wipfrom
fix/j616s-thermal-switch-on

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

On the J616s (M4 Pro), all-core CPU load has been held at 1.26/1.02/1.26 GHz (P0/E/P1) since fleet14 (2026-11-01), with the die near 55 C. The M4 Pro should run about 3.7-4.5 GHz here. Before the energy model landed (tt3), the same load ran at 4.5 GHz.

Cause (traced with thermal_power_allocator events during a 20 s P-cluster load on fleet14n):

  • Every zone runs the power allocator with a single passive trip, so none has a switch-on point and the allocator acts at any temperature.
  • The seven gpu*-thermal zones map all three CPU clusters and have no sustainable-power. The allocator estimates about 2.6 W from the lowest CPU states.
  • With the GPU off their sensors read placeholders near 3 C. Trace: err=97100 p=4930 output=7495, granting P0 2731 / E 2124 / P1 2640 mW, which is cooling state 14-18 / 6 / 18.
  • The CPU and die zones grant full power (46/45/93 W). The thermal core takes the deepest state any zone asks for, so the GPU zones win.
  • It's a real cap, not a reporting bug. A pinned int64 loop on cpu0 runs 4086 bogo-ops/s alone at 4.10 GHz and 2293 with the cluster loaded at 2.09 GHz.

Change (DT only):

  • A passive switch-on trip on all 24 zones: die and CPU at 100 C (control 116 C), GPU at 90 C (control 101 C). Below the switch-on point the allocator resets and grants full power.
  • sustainable-power = <51300> (the die value) on the GPU zones instead of the estimate.

Checked:

Hardware validation: runs in the fleet14o J616s Stage 2 trial: all-core 3.7-4.5 GHz with cooling 0 below about 100 C, coremark before and after, and a 10 min soak with TCM holding 112-114 C.

🤖 Generated with Claude Code

…e trips

Every thermal zone on the J616s runs the power allocator, and every one
has a single passive trip. With one passive trip the allocator has no
switch-on point, so it computes a budget and throttles at any
temperature. The seven GPU zones carry no sustainable-power either, so
the allocator estimates it from the CPU cooling devices' lowest states,
about 2.6 W. While the GPU is off, those zones read placeholder values
near 3 C, and their output is about 7.5 W for all 14 CPUs. The thermal
core applies the deepest state any zone asks for, so under any all-core
load the clusters sat at 1.26/1.02/1.26 GHz with the die near 55 C.
This started when the CPU cooling devices got power actors from the
energy model; before that the same load ran at 4.5 GHz.

Give each zone a passive switch-on trip below its control trip: 100 C
for the die and CPU zones (control 116 C) and 90 C for the GPU zones
(control 101 C). Below the switch-on point the allocator resets and
grants full power, which is what these zones are meant to do: catch a
failure of the PMP's own die loop, not act in normal use. Give the GPU
zones the die's sustainable power, 51300 mW, instead of the estimate.
The placeholder readings then stay far below the switch-on point.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide
RyanTheTide merged commit 8eb5b79 into aurora-wip Nov 2, 2026
@RyanTheTide
RyanTheTide deleted the fix/j616s-thermal-switch-on branch November 2, 2026 12:16
RyanTheTide added a commit that referenced this pull request Nov 2, 2026
Bring in the J616s thermal fix from #857. The J616s board file is now a
thin file on top of t604x-j614-j616.dtsi, so the change goes into the
shared dtsi: a passive switch-on trip below each control trip (100/116 C
for the die and CPU zones, 90/101 C for the GPU zones) and a sustainable
power of 51300 mW on the seven GPU zones. The J614s gets the same trips.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
RyanTheTide added a commit that referenced this pull request Nov 2, 2026
arm64: dts: apple: add the J614s (MacBook Pro 14-inch, M4 Pro)

The J614s ships EXPERIMENTAL. It has not been booted here, and nothing in
this tree is claimed as proven on the J614s.

J614s: internal speakers disabled pending bring-up. The J614s board file
disables &sound and all six amps, and macaudio's J614 config has the
speakers off. The headphone jack card stays enabled.

Hardware evidence comes from mchalunderscore's J614s boots of this tree's
values on combined stacks with local loader changes, as described in
#816 (GPU, display, keyboard,
trackpad, Wi-Fi, NVMe root),
#818 (GL9755 SD reader,
SDXC card at SDR104) and
#813 (Touch ID enrolment and
authentication with the T6040 SEP profile). DJ compile checked the tree.

Gates on the merged tree (aurora-wip 8eb5b79 plus this branch): W=1 for
the three DTBs, macaudio.o and sep.o with no new warnings; dtbs_check with
only the existing ANE findings; dt_binding_check for apple,macaudio clean;
host tests 175/175. The J616s and J616s tether DTBs decompile identical to
aurora-wip's apart from the model string, so the J616s thermal fix from
#857 is carried unchanged. The
J614s DTB carries the same switch-on trips.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
notmysegv pushed a commit to notmysegv/linux that referenced this pull request Nov 4, 2026
…nto integration/aurora

Bring integration/aurora up to the aurora-wip tip 9ff2b9a. After this
merge the two branches have the same tree.

The range contains the fleet14o source c243830 (aurora-silicon#857, aurora-silicon#858, aurora-silicon#795,
aurora-silicon#859), which was promoted on all four machines on 2026-11-02 and 03, and
the merges after it: aurora-silicon#861 (apple-dcp selftest stubs for aurora-silicon#858), aurora-silicon#860
(SEP keybag in the shared xART window, the aurora-wip copy of aurora-silicon#856),
aurora-silicon#724 (J616s boot NOR, both parts), aurora-silicon#779 (ALS colour temperature ABI),
aurora-silicon#862 (J700 GD25UF16E boot NOR, the Neo bless fix), aurora-silicon#863 (J616s ANE H16
start stall), aurora-silicon#797 (T6000 DCS whole-word writes) and aurora-silicon#803 (G17 keeps
innocent clients alive across another client's recovery).

aurora-silicon#858 and aurora-silicon#860 make the same changes integration/aurora already had as
aurora-silicon#855 and aurora-silicon#856, so they merge without conflicts.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant