Repository navigation
Release 0.4.0: fold Unreleased into 0.4.0; README M2 Max on by default - #52
Conversation
CHANGELOG: the Unreleased entries (#32-#50) go into 0.4.0. The intro now says the ANE is on by default on T8103, T6001 and T6021, and that the T6021 own-memory default needs no reserved-memory node. Known limits name the untested opt-ins (T6000, T6002, T6020, T6022, T8112), one machine per default chip, the omarchy-mac#677 dependency on Omarchy, the 254 vs 89 ms encoder gap with its rejected causes, and the hardware gates. README: the M2 Max row says "on by default", and the fw_alias_reserved caveat is gone (#49 made own memory the default). The Omarchy install section names the omarchy-mac#677 dependency: without it omarchy-ane-dt refuses and the ANE node is absent. voice_lint --mode article: fail=0.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 221e68c61b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| behind `ane-t6020` and `ane-t6022`. The macOS 13.5 ADTs give the same values | ||
| on these SoCs (#28). M3 and later get no overlay. | ||
| - `ane_t6021` binds `apple,t6020-ane`, `apple,t6022-ane` and | ||
| `apple,t8112-ane` as UNTESTED opt-ins (`32b916c`, #47). T8112 (M2) runs the |
There was a problem hiding this comment.
Cite the commit that added the T8112 binding
The cited 32b916c does not support the complete compatibility/ABI claim: its of_match table contains T6020, T6021, and T6022 only, while apple,t8112-ane was added in e91d350 and merged as c2b7408. Split or replace the citation so the T8112 binding has its actual provenance, as required for ABI claims.
AGENTS.md reference: AGENTS.md:L227-L228
Useful? React with 👍 / 👎.
| bridge tunables (#33), the bulk-DART tunables 0x220, 0x224 and the SID words | ||
| (#37), the ten Linux-only P-1 writes (#40), and the firmware perf mode | ||
| (findings section 19). DART 0x20c at DART reset is still open (#38, #46). |
There was a problem hiding this comment.
Add exact commits for the DART register claims
This paragraph makes specific hardware-register claims about 0x220, 0x224, and 0x20c, but supplies only issue references and an unnamed findings section. Cite the exact measurement commits—for example, the relevant result entered history in ec6ab5a—so these release claims retain the commit-level provenance required for every register claim.
AGENTS.md reference: AGENTS.md:L227-L228
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in 129bfd3: each rejected cause cites its receipt commit (native program 3b6fcf4, AXI2AF bridge 17e3bdc, 0x220/0x224/SID ec6ab5a, P-1 ee469e2). The 0x20c live-write break cites ec6ab5a, and the open reset-time write cites a332e6a and d5a0e74. The firmware perf-mode entry is dropped: no receipt commit in this repo supports it. The probe items also cite 17e3bdc and 3ec8a28/61637ff.
…d P-1 register claims; drop the uncited perf-mode entry
…der hash stays a developer check
| on 73da8f8 with the lab m1n1, in the reserved mode and in the own-memory | ||
| mode (#49): the device gate passed, Qwen program 20 matched the M1 golden | ||
| (rel L2 0.00117), and the whole encoder was bit-exact at a 254.5 ms median. | ||
| A third disk boot ran b6ef8f1 with the packaged m1n1 1.6.1 and the default |
There was a problem hiding this comment.
WARNING: This Boot P claim has no receipt in the tree
The third disk boot (b6ef8f1, packaged m1n1 1.6.1, default own-memory mode, 16 gates, encoder bit-exact, outputs byte-identical) is asserted here and repeated at line 8 and line 170, but nothing under receipts/ records it. The only T6021 disk-boot receipt in the tree (receipts/2026-10-01-t6021-release-boot/README.md:13) is explicitly the lab m1n1 v1.6.1-pdtrace stage 2, and receipts/2026-10-01-t6021-default-on/README.md:168 still reads "With the packaged m1n1 the guard must refuse. No such boot has run." b6ef8f1 itself is the merge of #49 and carries no device output.
AGENTS.md requires every delivered item to leave a receipt (command output, file path, or commit), and a packaged-m1n1 boot is the load-bearing evidence for both "T6021 is on by default" and "no reserved-memory node is needed". Either add the boot receipt (boot ID, module SHA, m1n1 version, gate table, encoder SHA) and update the two stale receipt lines, or keep the packaged-m1n1 claim out of 0.4.0.
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
| # omarchy-ane | ||
|
|
||
| Linux driver for the Apple Neural Engine (ANE) in M1 and M2 Macs. It ships DRM kernel modules and `libane`, the userspace library. Tested and on by default after install: M1 (T8103), M1 Max (T6001), M2 Max (T6021), with one note on the M2 Max below. Other chips are opt-in and untested, or unsupported. eiln/ane did the M1 reverse engineering. This fork wires up the other chips. | ||
| Linux driver for the Apple Neural Engine (ANE) in M1 and M2 Macs. It ships DRM kernel modules and `libane`, the userspace library. Tested and on by default after install: M1 (T8103), M1 Max (T6001), M2 Max (T6021). Other chips are opt-in and untested, or unsupported. eiln/ane did the M1 reverse engineering. This fork wires up the other chips. |
There was a problem hiding this comment.
SUGGESTION: "on by default after install" now overstates what an Omarchy user gets
This PR removed the "one note on the M2 Max below" pointer, and the M2 Max caveat it pointed to was deleted. But the Install section this same PR rewrites (README.md:47) says the overlay only applies through an omarchy-mac-boot with DT overlay support, and omacom/omarchy-mac#677 "is not merged yet"; with an older omarchy-mac-boot omarchy-ane-dt refuses and the ANE node is absent. The lead sentence therefore promises a working ANE after pacman -S omarchy-ane-dkms on today's Omarchy, which the release cannot deliver. Qualify the lead (for example, "on by default once omarchy-mac-boot applies overlays") or restore a pointer to the dependency.
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
Code Review SummaryStatus: 2 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
SUGGESTION
Fix these issues in Kilo Cloud Files Reviewed (2 files)
Verified while reviewing: every commit prefix newly cited in the CHANGELOG ( Reviewed by free · Input: 0 · Output: 0 · Cached: 0 |
Final 0.4.0 docs before the tag.
## Unreleasedentries (receipts: the M2's native encoder program runs at 253 ms under Linux (H_driver) #32-omarchy-ane-smoke: packaged add-fixture smoke; promotion golden and regression rule #50) go into 0.4.0. The new intro says the ANE is on by default on T8103, T6001 and T6021, and that the T6021 own-memory default needs no reserved-memory node. Known limits name:UNTESTED SoCcheck line;fw_alias_reservedcaveat is gone (ane_t6021: fw_alias_reserved defaults to 0 (own memory) after the T6021 own-memory boot passed #49). The Omarchy install section names the Apply package-owned device tree overlays to m1n1 stage 2 omacom/omarchy-mac#677 dependency. Without it,omarchy-ane-dtrefuses and the ANE node is absent; the T8103 package gate showed this before its #677 boot.voice_lint.py --mode article README.md: fail=0 (one Flesch warning, also present on main).The packaged-m1n1 line reads "pending" until the T6021 Boot P result arrives. That line changes before merge.
Host gate on this tree (x86_64): libane and tools build with -Werror;
ane-selfcheckPASS;test_ane_dt,test_ane_m2,test_ane_firmware_fetchok;test_ane_overlaysok (9 overlays, 26 applications, kernel dtc 1.7.2);pytest -q tests tools27 passed, 1 skipped.