Skip to content

arm64: dts: apple: t6041-j575c: enable the Neural Engine - #3151

Merged
RyanTheTide merged 1 commit into
aurora-silicon:mainfrom
7robertodantas:j575c-ane
Nov 25, 2026
Merged

RyanTheTide merged 1 commit into
aurora-silicon:mainfrom
7robertodantas:j575c-ane

Conversation

@7robertodantas

@7robertodantas 7robertodantas commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

What: Enable the Neural Engine and its three DARTs on the J575c (Mac Studio, M4 Max), as #1467 does on the J614c/J616c. DT-only: the J575c's iBoot preload has the J614c's digest, so the existing 25G83 J614C profile accepts it.
Tested: J575c at 3fd56c2: preload accepted, firmware up, /dev/accel/accel0; h16-run.py add-128 20/20 runs exact (16384/16384 fp16 values each); 0 failed units, 0 new kernel errors.
Risk: two-way door · J575c only (t6041-j575c.dts).
Not yet: nothing.

Details

The J575c includes the J616c's ANE reservations (t6041-j616c-ane.dtsi) but left the ANE and its DARTs disabled. Its ADT (macOS 27.2.1) has ane0 with pre-loaded firmware (__TEXT;__DATA) and dart-ane0 at the t604x.dtsi addresses, and the loader already fills the reservations on this machine. The J614c and the J575c are both 40-core M4 Max; their 25G83 preloads have the same digest, so no driver change is needed.

Checks: checkpatch --strict 0/0/0; dt-validate on t6041-j575c.dtb with all bindings: no warnings.

Evidence

Exact-head standalone boot: kernel 7.3.0-1-114 built from main a73023b (this PR's base), stock command line, no ANE module parameters; DT = t6041-j575c.dtb built by the kernel's make from 3fd56c2 (sha256 997805ae...), one-shot trial Stage 2. Against the base DTB, the only changes are the status of the ANE and its 3 DARTs.

  • ane_t6021 484000000.ane: H16 preload identity H16 26.6.2 25G83 J614C accepted, H16 perf floor attached, H16 READY, CONFIG_GET, [drm] H16 accel node ready (ABI 3, ...), H16 stage program complete; /dev/accel/accel0.
  • tools/testing/selftests/drivers/ane/h16-run.py --hwx add128.hwx --runs 20 (the pinned add-128 HWX, rebuilt from drivers/accel/ane/ane_h16_add128_fixture.h, sha256 231f54c2...): PASS, 20/20 runs with 16384/16384 fp16 values exact, output sha256 d113d9ae... on every run.
  • 0 DART faults.
  • Regression: SELinux N/A (Arch, AppArmor: 0 denials), 0 failed units, no kernel warning or error that the same machine's previous boot (7.3.0-1-113, ANE disabled) did not have. Error lines present on both: the ASM2214 xHCI firmware is missing, DCP unexpected lane count, devmotion6 probe -5, and a USB2 hub keyboard's -71 retry.

The J575c includes the J616c's ANE reservations, which the loader fills
from the ADT's ane0 segment-ranges, but leaves the ANE and its three
DARTs disabled. The J614c and J616c enable them.

The J575c's ADT (macOS 27.2.1) has ane0 (apple,t6041-ane on any T6041)
with pre-loaded firmware (__TEXT;__DATA) and dart-ane0 at the t604x.dtsi
addresses, and the loader already fills the reservations on this machine
(ane-firmware-text@100009d8000). Enable the ANE and its DARTs.

Signed-off-by: Roberto Dantas <7robertodantas@gmail.com>
@7robertodantas
7robertodantas requested review from a team as code owners November 25, 2026 10:24
@github-actions github-actions Bot added area:bringup Area from CODEOWNERS (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) needs-template PR body lacks Tested or Risk (bot) labels Nov 25, 2026
@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Merge readiness at 3fd56c26: not ready yet

Check Detail
CI at head no failing: pr-text / pr-text, pr-text / pr-text
Review ok approved by DjDeveloperr
Requested changes ok none
Hardware row at head ok in the PR body at 3fd56c26
Conflicts ok none
PR text ok Risk: two-way · J575c only (t6041-j575c.dts).

Areas: area:bringup

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@github-actions github-actions Bot added blast:m4 Macs affected, from Merge risk (bot) ci-failing A check failed at the PR head (bot) door:two-way Revertible or not, from Merge risk (bot) and removed needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) needs-template PR body lacks Tested or Risk (bot) labels Nov 25, 2026
@RyanTheTide
RyanTheTide merged commit 6f05cf2 into aurora-silicon:main Nov 25, 2026
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:bringup Area from CODEOWNERS (bot) blast:m4 Macs affected, from Merge risk (bot) ci-failing A check failed at the PR head (bot) door:two-way Revertible or not, from Merge risk (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants