Skip to content

arm64: dts: apple: t8140: SoC fabric power states (true parents) - #1298

Merged
RyanTheTide merged 2 commits into
integration/aurorafrom
dtcover/neo-pmgr-parents-v3
Nov 12, 2026
Merged

RyanTheTide merged 2 commits into
integration/aurorafrom
dtcover/neo-pmgr-parents-v3

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Every T8140 power state now has the parents the J700 ADT gives it. The SIO subtree is the exception; #1280 covers it. The watchdog IRQ, the SMC I2C masters and the ISP chain came in with #1299, so this PR's own change is the SoC fabric.

  • SoC fabric. ps_afimccni0, piogw, afins0 and afisocni0..2 are always on and owned by firmware. They are now the true parents of gfx, jpg, msr, venc0_sys, prores, sep, apcie_gp, isp_sys, avd_sys, ans, disp_sys, dispext0_sys, ane_sys and atc0_common. The coverage manifest maps these 6 states plus 61 more real power states that it used to waive as "virtual votes" (mapped 417 -> 423, waived 171 -> 165, missing 0).

Requires aura with #125 (in aura 1.0.0b10 builds from main 2296392f onward and in 1.0.0b11). aura's T8140 display preflight used to accept only DCP power chains of at most 3 single-parent states. With the true disp_sys -> afisocni2 parent, an older Stage 2 refuses the display handoff and falls back after the 178 s trial watchdog. The distributions pin aura 1.0.0b11 and their kernels require it.

Testing on a MacBook Neo (J700), 11-12

The test was a DTB-only aura-try trial and nothing was committed. The production Stage 2 (aura 1.0.0b10-gbd9f3e82, which has #125) was used with only the j700 DTB swapped. That DTB was the fleet64 j700 DTB (integration 1de767b) plus this commit, 06e51ffe. The kernel was fleet64. Rows were compared against a production boot of the same kernel.

  • dtc and dtbs_check: 0 warnings on t8140-j700, nothing new against the base.
  • Boots to gdm. SELinux enforcing, 0 failed units, 0 AVC denials, 0 kernel errors, no AP event-log lines, no SError, no PMGR errors, no DART faults.
  • All 6 fabric states are present and on (they are absent on the production DTB), with the tree the ADT describes. afins0 is the parent of afisocni0/1/2. afisocni0 parents jpg, msr, prores, venc0_sys and sep. afisocni1 parents apcie_gp, isp_sys, avd_sys and ans. afisocni2 parents ane_sys, disp_sys, dispext0_sys and atc0_common.
  • Every block domain behind the fabric is in the same state as on production. agx, apple-ave, ISP, JPEG, ProRes, scaler, AVD and the ANE all bind. eDP and DP-1 are up. glmark2 offscreen scores 11318 (production 11068). Wi-Fi works.
  • s2idle passed 2 of 2 with an RTC wake. After resume the fabric is still on, there are no new errors, and NVMe reads at 1.9 GB/s.

This changes only the t8140 files and the j700 manifest. Other Macs' DTBs are unchanged.

🤖 Generated with Claude Code

The J700 ADT power tree puts most SoC blocks behind fabric power
states: AFIMCCNI0 and PIOGW feed AFINS0, which feeds AFISOCNI0-2.
GFX hangs off AFIMCCNI0 and PIOGW; JPG, MSR, VENC0_SYS, PRORES and SEP
off AFISOCNI0; APCIE_GP, ISP_SYS, AVD_SYS and ANS off AFISOCNI1;
DISP_SYS, DISPEXT0_SYS, ANE_SYS and ATC0_COMMON off AFISOCNI2. None of the fabric states were
described.

Describe them, always-on as T6041 does with its fab*_soc states, and
firmware-owned like disp_cpu: on a running J700 all six read active
(AFISOCNI0 in automatic mode with its target on), and letting the
pwrstate driver set auto-enable and clear the flag bits on them latches
an AP event-log error (seen on a J700 trial boot). Firmware-owned states
are never read or written.

The loader validates each DCP power chain before it hands the display
over. It must end that walk at these always-on states, which needs aura
"kboot: t8140: end the DCP power chain at always-on fabric". Older
loaders refuse the handoff with this DT, so ship it only with a Stage 2
that has the fix.

Map the six records, and the 61 other J700 power states we already
describe, in the ADT coverage manifest. They are real power-state
registers, not virtual votes.

Signed-off-by: Ryan Murray <[email protected]>
Assisted-by: LLM
@RyanTheTide
RyanTheTide marked this pull request as draft November 9, 2026 07:47
@RyanTheTide RyanTheTide changed the title arm64: dts: apple: t8140: complete the J700 power tree from the ADT [HELD until aura b11 pinned] arm64: dts: apple: t8140: SoC fabric power states (true parents) Nov 9, 2026
@RyanTheTide RyanTheTide changed the title [HELD until aura b11 pinned] arm64: dts: apple: t8140: SoC fabric power states (true parents) arm64: dts: apple: t8140: SoC fabric power states (true parents) Nov 12, 2026
@RyanTheTide
RyanTheTide marked this pull request as ready for review November 12, 2026 06:15
@RyanTheTide
RyanTheTide merged commit 050f6a5 into integration/aurora Nov 12, 2026
2 checks passed
@RyanTheTide
RyanTheTide deleted the dtcover/neo-pmgr-parents-v3 branch November 12, 2026 06:15
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