Skip to content

tools/asahi: g17: take the published sequence in the owed-stamp test's note_retired stub - #3594

Merged
RyanTheTide merged 1 commit into
mainfrom
fix/g17-owed-stamp-note-retired-stub
Nov 29, 2026
Merged

RyanTheTide merged 1 commit into
mainfrom
fix/g17-owed-stamp-note-retired-stub

Conversation

@satchlj

@satchlj satchlj commented Nov 29, 2026

Copy link
Copy Markdown
Member

e861dd8 made recovery::note_retired() take the retired command's published sequence, and queue/compute.rs now calls note_retired(front.published). The stub in tools/asahi/g17-compute-owed-stamp-tests.py still takes no argument, so the test fails to compile (E0061). host-tests has failed on main since then (run at 8ebb0f75ae2d). It also fails on every PR that merges main.

This gives the stub the same _published: u64 parameter. It changes the test only; no driver code changes.

Tested: host only, at this head on macOS with rustc 1.100. g17-compute-owed-stamp-tests.py passes, and all 15 of its listed mutations are killed by run-host-tests.py's own KILL_SIGN/BROKEN_SIGN criteria.
Risk: two-way door; test-only, all Macs unaffected at runtime.

…s note_retired stub

e861dd8 ("drm/asahi: g17: M5: renew a watchdog while later work
overtakes it") made recovery::note_retired() take the retired
command's published sequence, and compute.rs now calls
note_retired(front.published). The stub in
g17-compute-owed-stamp-tests.py still takes no argument, so the test
no longer compiles and host-tests fails on main.

Give the stub the same parameter.

Signed-off-by: Satya Benson <[email protected]>

@aurora-silicon-review aurora-silicon-review 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.

Verdict: MERGE at fca5d91d (once queued CI is green)

Blockers: none (await the queued host-tests, pr-text, and readiness checks at fca5d91d before merging)

Checked:

  • tools/asahi/g17-compute-owed-stamp-tests.py:129: updates stub recovery::note_retired() -> recovery::note_retired(_published: u64) to match e861dd8534f6's queue/compute.rs call note_retired(front.published), fixing the E0061 compile failure currently breaking host-tests on main (8ebb0f75ae2d).
  • Test-only 1-line change (+1/-1, MERGEABLE on main, zero runtime impact on any Mac); author verified g17-compute-owed-stamp-tests.py passes and all 15 mutations kill as expected.
Evidence
  • Head: fca5d91d637d (MERGEABLE on main, +1/-1, 1 file).
  • CI at review time: host-tests, pr-text, and readiness queued.

@RyanTheTide

Copy link
Copy Markdown
Contributor

code-owner ping <@422957901716652033> / @DjDeveloperr: merge train at fca5d91d. App approved; a 1-line test-only fix following #3583's note_retired() signature, so no hardware row applies. Merges 1 h from now under the 6-point rule once CI is green, unless you object.

@RyanTheTide

Copy link
Copy Markdown
Contributor

Merging under the 6-point rule (Ryan 09:29, permanent), at fca5d91d. (1) The review App approved at this head. (2) Full CI is green. (3/4) Rows: test-only. (5) There's no blocking review. (6) Dj was pinged here 125 min ago with no objection. Revert: git revert -m 1 <merge>.

@RyanTheTide
RyanTheTide merged commit 2160401 into main Nov 29, 2026
4 of 6 checks passed
@RyanTheTide
RyanTheTide deleted the fix/g17-owed-stamp-note-retired-stub branch November 29, 2026 06:09
RyanTheTide added a commit that referenced this pull request Nov 29, 2026
Picks up #3594 (host-test stub fix for g17-compute-owed-stamp-tests).
RyanTheTide added a commit that referenced this pull request Nov 29, 2026
Picks up #3594 (host-test stub fix for g17-compute-owed-stamp-tests).
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.

2 participants