Repository navigation
cpufreq: apple: Add the T6050 thermal-owned profile - #481
Conversation
|
Hardware result on the M5 Pro (J714sAP, bare metal under aura Stage 2), with this same driver change as carried in the PR #1012 kit (c1127df) and the kit DT, which sets
Not tried: lazy verification for the fast-switch path (this profile verifies every transition, so schedutil takes the slow path). 🤖 Generated with Claude Code |
The T6050 clusters' DVFS command register reads back the last request it accepted, not a measured state, so the profile verifies each transition against that readback, with a 2 ms timeout. On this chip the firmware owns the clusters' thermal limits; the profile refuses a cluster whose node doesn't say so (apple,firmware-managed-thermal), and the binding requires that property for apple,t6050-cluster-cpufreq. Tested on J714s (M5 Pro, bare metal under aura Stage 2): all three clusters bind (M 300-4380 MHz, P 300-4608 MHz, schedutil) with no DVFS error; idle clusters sit at 300 MHz and loaded ones at their top state. Clocks measured with a dependent add chain go from iBoot's 2.65/1.34/ 1.31 GHz to 4.29/4.38/4.60 GHz (with WFI idle); one-thread work is 1.6x faster on M and 3.4x on P, and idle system power drops from 20.1 to 7.2-7.9 W while idle still spins under idle=nop. Carried for the bare-metal kit by Erik Bourget (#944). Signed-off-by: Diljit Singh <hey@djdev.me>
490ccd5 to
5ad2c72
Compare
|
Retested before merging on the M5 Pro (J714sAP, bare metal, SSD boot), kernel 7.3.0-m5-merge: the M5's integration kernel with this round's rebased heads in place of the old ones (every PR's own patch identical to what is merged; logs in work/m5-pr-merge-20261109). CI green. Before merging, this round (these 14 PRs, #1323 and the rebased #1254/#1306/#938/#1316/#1199) was test-merged in order onto integration/aurora f9cf6f9 with no conflicts:
🤖 Generated with Claude Code |
Adds the T6050 (M5 Pro/Max) CPU-frequency profile: command-state readback with each transition verified (2 ms timeout), refusing any cluster whose node doesn't declare
apple,firmware-managed-thermal, and the binding requires that property forapple,t6050-cluster-cpufreq.Retargeted 2026-11-09 from the APIF series'
t6050/basetointegration/aurora, with the version tested on bare metal (the PR #1012 kit's c1127df, carried by Erik Bourget in #944): same driver change, and the binding hunk without the old SPDX rewrite. The previous head is kept asbackup/t6050-cpufreq-490ccd572f2f.Tested (J714sAP, M5 Pro, bare metal under aura Stage 2, kit DT with
apple,firmware-managed-thermalon the three clusters)idle=nop); 2.7-2.8 W with arm64: idle: T6050 idles in WFI even with idle=nop #1152.🤖 Generated with Claude Code