Skip to content

receipts: DT bindings for the ANE nodes of aurora-silicon/linux#65 - #26

Merged
joshuaswarren merged 1 commit into
mainfrom
agent/aurora-pr65-ane-binding
Oct 1, 2026
Merged

joshuaswarren merged 1 commit into
mainfrom
agent/aurora-pr65-ane-binding

Conversation

@joshuaswarren

Copy link
Copy Markdown
Owner

Receipt for the two DT binding commits pushed to the head branch of aurora-silicon/linux#65.

  • PR tools/promote_chip.py: flip a chip between opt-in and default-on #65 head: 30071bf4d66f (was bc41726b524d; fast-forward, ahead 2, behind 0).
  • 13ed770050d9 dt-bindings: npu: apple,ane: Add the Apple Neural Engine
  • 30071bf4d66f dt-bindings: mailbox: apple,mailbox: Allow the ANE mailbox variant
  • dtbs_check over the 111 Apple DTBs: 9002 -> 8927 lines; the 75 removed lines are all on ANE nodes, none added. dtc W=1 identical (533). dt_binding_check clean for both schemas; checkpatch --strict 0/0/0 per commit.

Details, maintainer questions and stale PR #65 description text: receipts/2026-10-01-aurora-pr65-ane-binding/README.md.

Two binding commits on the #65 head branch (13ed770050d9 npu/apple,ane.yaml,
30071bf4d66f apple,mailbox.yaml ANE variant); PR head now 30071bf4d66f.
dtbs_check over 111 Apple DTBs: 9002 -> 8927 lines, the 75 removed all on
ANE nodes, none added; dtc W=1 unchanged; checkpatch --strict clean.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-01T14:39:18.575232Z aa633d1 PR opened
🔒 Security Review ✅ Completed 2026-10-01T14:38:50.785128Z aa633d1 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aa633d1fa0

ℹ️ 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".

@@ -0,0 +1,189 @@
# DT bindings for the ANE nodes of aurora-silicon/linux#65 (2026-10-01)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Use the required author and committer identity

git show --format=fuller 4de389ce62e7931818e2fd4d59b14a4cdbdc20ad records both the author and committer as Codex <codex@openai.com>. This violates the repository’s standing identity requirement, so the commit must be recreated with Joshua Warren’s required name and email before it can be accepted.

AGENTS.md reference: AGENTS.md:L252-L257

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked against the commits API: the only commit on this PR, aa633d1, has author and committer Joshua Warren 816217+joshuaswarren@users.noreply.github.com. Commit 4de389ce62e7 does not exist in this repository (GET /commits/4de389ce… returns 422 "No commit found"), so the finding refers to a commit outside this PR. No change needed.

@joshuaswarren
joshuaswarren merged commit ea0eac7 into main Oct 1, 2026
1 check passed
+ - const: ane
+
+ iommus:
+ maxItems: 3

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: iommus has no minItems, so this schema cannot produce the recorded verdict

The receipt states three iommus are required and that F_ane_t8103_2iommu (two iommus) is rejected, and result-30071bf4.txt records iommus: [[2, 0], [3, 0]] is too short. That message only comes from a minItems on iommus, which this patch does not contain anywhere (top level, nor in the t6021 then/else). With only maxItems: 3, a two-IOMMU node validates, so the recorded result is not reproducible from the recorded patch. Either the patch copy is missing minItems: 3 or result-30071bf4.txt was produced from a different schema revision than the one in this receipt.


Reply with @kilocode-bot fix it to have Kilo Code address this issue.

+ - const: set
+
+ interrupts:
+ maxItems: 1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SUGGESTION: interrupts has no minItems, so it does not enforce the README's "one interrupt named ane"

interrupts is in required, but a present-but-empty property still satisfies that, and maxItems: 1 only caps the count. interrupt-names below likewise has no minItems/maxItems, so it is not tied to a single interrupt. If the intent is exactly one ane interrupt, add minItems: 1 here and minItems: 1/maxItems: 1 to interrupt-names; the boundary cases only exercise the reg/iommus/mboxes/power-domain rules, so nothing in the receipt would catch this.


Reply with @kilocode-bot fix it to have Kilo Code address this issue.

for f in [PF]_*.dts; do
c=${f%.dts}
"$dtc" -q -I dts -O dtb -o "$c.dtb" "$f" || { echo "$c dtc-failed"; bad=1; continue; }
out=$(dt-validate -m -s "$schema" "$c.dtb" 2>&1 | grep -E '(ane|mailbox)@')

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: dt-validate failures are indistinguishable from a pass

The command's exit status is discarded and the output is filtered to lines containing ane@ or mailbox@. If dt-validate cannot load the schema (bad $schema path), the dtschema version mismatches, or the tool is missing, every case produces no matching lines, got=P, and all P_* cases report ok with after_exit=0. That is a silent false pass in the harness the receipt uses as its evidence. Capture the exit status (or run without the grep filter and inspect the full output) so an infrastructure error cannot be recorded as a validation pass.


Reply with @kilocode-bot fix it to have Kilo Code address this issue.

@kilo-code-bot

kilo-code-bot Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Code Review Summary

Status: 3 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 2
SUGGESTION 1
Issue Details (click to expand)

WARNING

File Line Issue
patches/0001-dt-bindings-npu-apple-ane-Add-the-Apple-Neural-Engin.patch 87 iommus has no minItems, so the recorded F_ane_t8103_2iommu verdict (iommus ... is too short) cannot be produced by the schema in this receipt
boundary-cases/run.sh 11 dt-validate exit status is discarded and output is grep-filtered, so a schema-load or tool failure is recorded as a pass for every P_* case

SUGGESTION

File Line Issue
patches/0001-dt-bindings-npu-apple-ane-Add-the-Apple-Neural-Engin.patch 80 interrupts lacks minItems and interrupt-names lacks both bounds, so the README's "one interrupt named ane" is not enforced
Files Reviewed (35 files)
  • receipts/2026-10-01-aurora-pr65-ane-binding/README.md - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/SHA256SUMS - 0 issues (covers all 34 sibling files; own hash necessarily excluded)
  • receipts/2026-10-01-aurora-pr65-ane-binding/base.ane-lines.txt - 0 issues (75 lines, matches README)
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/F_ane_badcompat.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/F_ane_t6021_1reg.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/F_ane_t6021_5pd.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/F_ane_t6021_nombox.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/F_ane_t8103_2iommu.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/F_ane_t8103_3reg.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/F_ane_t8103_mbox.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/F_mb_ane_iommus.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/F_mb_ane_nofallback.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/F_mb_ane_wrongfirst.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/F_mb_aop_1irq.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/F_mb_aop_1irq_2names.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/F_mb_asc_1irq.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/F_mb_asc_1irq_4names.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/F_mb_asc_2irq.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/F_mb_m3_1irq.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/P_ane_t6021.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/P_ane_t8103.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/P_mb_ane_1.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/P_mb_ane_2.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/P_mb_aop_2irq.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/P_mb_asc_4irq.dts - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/common.dtsi - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/result-30071bf4.txt - 0 issues (22/22 expected verdicts)
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/result-bc41726b.txt - 0 issues (4 expected MISMATCH, before_exit=1)
  • receipts/2026-10-01-aurora-pr65-ane-binding/boundary-cases/run.sh - 1 issue
  • receipts/2026-10-01-aurora-pr65-ane-binding/checkpatch-strict.txt - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/dt_binding_check.txt - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/explanation-lines.diff.txt - 0 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/findings.diff - 0 issues (75 removals, 0 additions, matching README)
  • receipts/2026-10-01-aurora-pr65-ane-binding/patches/0001-dt-bindings-npu-apple-ane-Add-the-Apple-Neural-Engin.patch - 2 issues
  • receipts/2026-10-01-aurora-pr65-ane-binding/patches/0002-dt-bindings-mailbox-apple-mailbox-Allow-the-ANE-mail.patch - 0 issues

Note: this PR is already merged, so the findings are recorded for follow-up. Hashes in SHA256SUMS were not recomputed (read-only review, no code execution); the entry list was checked against the tree and matches all 34 sibling files.

Fix these issues in Kilo Cloud


Reviewed by free · Input: 0 · Output: 0 · Cached: 0

joshuaswarren added a commit that referenced this pull request Oct 1, 2026
The Unreleased entries of #28 and the #25, #27, #29 tools and #22/#26 receipts go into 0.4.0, with honest known limits. CHANGELOG.md only.
@joshuaswarren
joshuaswarren deleted the agent/aurora-pr65-ane-binding branch October 3, 2026 12:41
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