Repository navigation
arm64: dts: apple: t6041-j575c: enable the Neural Engine - #3151
Merged
Merged
Conversation
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>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
DjDeveloperr
approved these changes
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.pyadd-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) hasane0with pre-loaded firmware (__TEXT;__DATA) anddart-ane0at 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.dtbwith 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.dtbbuilt by the kernel'smakefrom 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 fromdrivers/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.unexpected lane count, devmotion6 probe -5, and a USB2 hub keyboard's -71 retry.