Skip to content

carry.toml: carry aurora-silicon/linux#2800 and #3619 (AOP crash on speaker stream stop) - #563

Open
e-fu wants to merge 1 commit into
omacom:integration/aurora-7.3from
e-fu:carry/aop-spkr-2800-3619
Open

e-fu wants to merge 1 commit into
omacom:integration/aurora-7.3from
e-fu:carry/aop-spkr-2800-3619

Conversation

@e-fu

@e-fu e-fu commented Dec 3, 2026

Copy link
Copy Markdown

What: Carry two merged upstream PRs in Omarchy's 7.3 kernel. Both merged into aurora-silicon main after intake 4a42f3105002, so aurora-7.3.0-5 (c731018151b1) has neither.

Why: On the J614s (MacBook Pro 14" M4 Pro), an AOP crash blocks speaker protection. Omarchy has no speakersafetyd profile for J614, so the only protection is speakerguardd v2 (omacom/omarchy-pkgs#2560). After a crash, its silent self-check refuses the Mac (sense capture could not start before playback: ... Input/output error), and the speakers stay at the kernel floor. Evidence: speakerguardd#274 follow-up; the issue itself tracks a separate first-login problem.

Tested:

  • Both commits apply without conflicts to c731018151b1 in the tested order (#2800, then #3619). #3619 also applies alone. Stable patch-ids are unchanged. The resulting drivers/soc/apple/aop.rs and sound/soc/apple/aop_spkr.rs are byte-identical to aurora-silicon 9439bf96.
  • Upstream rows on #3619, each on its own kernel base:
    • J616C: 40/40 and 25/25 muted cycles with no crash; without the fix it crashed at cycle 5.
    • J616s: #3619 on its saved EDGE kernel. 45 cycles with 0 crashes, against a crash at cycle 35 unpatched, plus one s2idle with a muted stream running.
    • J614c: about 4 h of normal use with 0 crashes.
  • J614s, A/B on Fedora kernel-aurora 7.3.0-47 plus both commits:
    • Stock had 1 AOP crash in 114 muted stop/start cycles; patched had 0 in 104. With a crash rate this low, that is limited evidence.
    • With the fix, aurora-speaker-upgrade --check passed and v2 took the speakers. One idle s2idle with no crash.
    • A later row used the same kernel plus the non-audio #2371 commits: one s2idle with a muted stream running, protection re-granted after wake, and 5 more stop/start cycles. 0 crashes.

Not yet: No linux-aurora package has been built with these entries, and none has run on a J614s under Omarchy. That build and a muted-cycle row on the Omarchy kernel are planned.

Risk: Two-way door.

  • #3619 changes only the Apple AOP speaker playback path (aop_spkr.rs); the jack path is unchanged.
  • #2800 changes EPIC call admission after a crash on every Mac with an AOP. No firmware message or power sequence changes.
  • Revert: drop the two entries.
Integration

The two entries are in the diff. commits picks 726da3247592 for #2800, whose head 480c8e1e368d only adds a merge of main; #3801 uses the same pattern. deps keeps the tested order. Both entries retire on the intake sync that includes their merges.

Input tags a maintainer would need to create:

  • carry-input/2800-480c8e1e368d → 480c8e1e368d1d3f2011156d78d6108f35df8c91
  • carry-input/3619-9439bf96b781 → 9439bf96b781f500c7716414ed7427f6818ec09f

Copilot AI balanced review requested due to automatic review settings December 3, 2026 00:32
@greptile-apps

greptile-apps Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] The carry entries appear safe to merge; no blocking defect was found.

Summary

Adds two pinned upstream fixes to carry.toml:

  • EPIC calls stop using tags after AOP firmware crashes.
  • Speaker streams stop TX DMA after pw1.

No actionable issues were found. The PR reports patch-application and hardware tests, but a package build and an Omarchy hardware test remain planned.

Reviews (2) · Last reviewed commit: "carry.toml: carry aurora-silicon/linux#2..." · Reviewed by Greptile

Copilot AI 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.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

No open issues 🎉

What changed in this PR

Carries two upstream kernel fixes into Omarchy’s 7.3 kernel via carry.toml to prevent AOP crashes (EPIC call tag leak after firmware crash, and speaker stream-stop crash / dead speakers until reboot).

Changes:

  • Add carry entry for aurora-silicon/linux#2800 (refuse EPIC calls with ENODEV after AOP firmware crash to avoid tag leaks).
  • Add carry entry for aurora-silicon/linux#3619 (adjust speaker TX DMA stop timing to avoid AOP crash on stream stop), with dependency ordering.
File Description
carry.toml Adds two new [[carry]] entries (with dependency ordering) to pull in upstream AOP stability fixes for Omarchy’s 7.3 kernel.

Review effort: Lite

@e-fu

e-fu commented Dec 3, 2026

Copy link
Copy Markdown
Author

The Omarchy build and muted row from "Not yet" above.

Build: linux-aurora 7.3.0.aurora5-1.1, built on the J614s from aurora-7.3.0-5 (c731018151b1) plus exactly the two carries in this PR (#2800, then #3619). Installed over 7.3.0.aurora5-1 on Omarchy edge; running kernel 7.3.0-5-1.1-ARCH.

Same diagnostic counts as stock: the aurora-diag check gives 130 pass, 5 warn, 0 fail, 27 skip on both aurora5-1 and the carry kernel.

Speaker path (J614s, muted only, sink volume 0, digital silence):

  • Userspace: speakerguardd-v2 1.0.0alpha.2-1, aurora-speaker-upgrade 0.1-1, stock pipewire 1.6.12, wireplumber 0.5.19, aurora-audio with the raw-sink gate from aurora-audio 4.1.aurora4-2: gate J614 speakers omarchy-pkgs#4520.
  • aurora-speaker-upgrade --check passed and the switch completed: v2 owned the speakers and its silent self-check passed.
  • 10/10 muted start/stop cycles of 1 s completed, each granted and released. No AOP crash was logged during those cycles.

Ten cycles do not prove the fix on their own: on Fedora this machine had one crash in 114 unpatched cycles. The row shows that the carries build, boot and run the v2 path on the Omarchy kernel.

Suspend with a granted stream: an observation that involves aurora-silicon/linux#2371. One muted 60 s stream, protection granted, then rtcwake -d rtc1 -m mem -s 25:

Kernel Result
aurora5-1.1 (this PR's two carries) The machine reset on 2 of 2 attempts. The journal ends at the suspend request, with no PM: suspend entry and nothing in pstore. With v2 reverted and no stream, one 30 s RTC suspend on the same kernel completed.
aurora5-1.2 (the same plus the two commits of #2371) 3 of 3 completed, no reset: two with stock PipeWire (I disturbed the first of them) and one with a patched PipeWire. The kernel withdraws protection at suspend entry and the daemon grants it again about 1.1 s after PM: suspend exit.

The two builds differ only in #2371 (the AOP pin controller on T6040 and the display gate change); without it the three USB4 routers stay in deferred probe. The cause of the resets is unknown: the counts are small, and there is no stock aurora5-1 row for the stream case. The carry request for #2371 is #564.

No audible playback at any point.

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