Repository navigation
aura 1.0.0b18.r20261203-2: gate S2R mailbox on raw boots of execute-window chips - #4712
Merged
Merged
Conversation
…window boots Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
There was a problem hiding this comment.
🔵 Needs a closer look
The bootloader pin changes hardware suspend eligibility, but raw-Stage-1 MacBook Neo suspend/wake validation remains pending and requires maintainer assessment of live hardware evidence.
No open issues 🎉
What changed in this PR
Updates Aura to keep raw-Stage-1 MacBook Neos on s2idle, avoiding reboots on deep sleep while preserving existing behavior for M1–M3 and Mach-O execute-window boots.
Changes:
- Bumps the package release to
1.0.0b18.r20261203-2and pins the S2R mailbox gating carry. - Updates the qualification commit and checksum; hardware qualification and automatic Stage 1 enrollment remain disabled.
| File | Description |
|---|---|
pkgbuilds/aura/PKGBUILD |
Updates release, source pin, checksum, and carry documentation. |
pkgbuilds/aura/build-qualification.json |
Aligns the qualification record with the new source commit. |
Review effort: Balanced
Confidence Score: 5/5
[Medium impact] No blocking issue was established in the reviewed package changes. SummaryUpdates
Reviews (1) · Last reviewed commit: "aura 1.0.0b18.r20261203-2: carry aurora#..." · Reviewed by Greptile |
Contributor
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
Bumps
aurafrom1.0.0b18.r20261203-1(omacom/m1n1carry/edgeB4-7.33f0fcc9d55cb, introduced in omacom/omarchy-pkgs#4608) to1.0.0b18.r20261203-2(omacom/m1n1carry/edgeB5-7.3bddf45414bcf6b0245da67db8477ef111ad3df29, taggedcarry-input/aura-671-bddf45414bcf).Adds a single carry on top of
3f0fcc9d55cbfrom upstream PR aurora-silicon/aura#671 (2fc0ac9180e3):ctxr_exec_expected()fromsrc/ctxr_exec.c(backed bydata/execute-window.json: M4, A18 Pro / T8140, M5 and later).dt_set_s2r_mailbox(), withholds/chosen/aurora,s2r-mailboxand records/chosen/aurora,s2r-unavailable = "raw boot of an execute-window chip: S2R requires Mach-O Stage 1"wheneverctxr_exec_expected() && !ctxr_exec_window(NULL, NULL).Why this is needed for 4.6
MacBook Neo (
j700ap/ T8140) installs upgraded from 4.5 still boot the rawm1n1-auroraStage 1 (no CTXR execute window). With aurora-silicon/aura#647 carried onb18,ACC_CTXR_D_CTL_EL2only carries lock bits, sodt_set_s2r_mailbox()published/chosen/aurora,s2r-mailboxeven without an execute window. Linux then defaultedmem_sleeptodeepon an unqualified raw wake path, causing MacBook Neos to reboot on suspend / lid close.Withholding the mailbox on raw execute-window boots keeps upgrading MacBook Neos cleanly on
s2idlewhile leaving:ctxr_exec_expected() == false) unchanged;ctxr_exec_window() == true, e.g. Neo installed with omacom/omarchy-mac-installer#273) unchanged, continuing to publish/chosen/aurora,s2r-mailboxand default todeep.Stage 1 enrollment is unchanged (
build-qualification.jsonhardware_testedstaysfalse,stage1_auto_enrollmentstaysfalse).Tested
test_s2r_mailbox_gate.py+ctxr_exec/mmu/smptests): 91/91 passed locally; upstream CI running.omacom/m1n1carry/edgeB5-7.3(bddf45414bcf, including adapted#647test_s2r_mailbox_follows_ctxr_d_ctl): 92/92 host pytests passed.validate-qualification.py --build-onlyagainstbddf45414bcf6b0245da67db8477ef111ad3df29andtests/pinned-sources.sh: passed.Risk
Two-way door: Stage 2 bootloader on
aarch64Macs (ESPonly; Stage 1 untouched). Only affects raw unconfined boots of execute-window chips (data/execute-window.json), wheredeepcurrently reboots the machine.Not yet
/proc/device-tree/chosen/aurora,s2r-unavailableis present,/proc/device-tree/chosen/aurora,s2r-mailboxis absent,/sys/power/mem_sleepstays[s2idle], ands2idlesuspend/wake works cleanly without rebooting.