Skip to content

aura 1.0.0b18.r20261203-2: gate S2R mailbox on raw boots of execute-window chips - #4712

Merged
omarchy-pkgs-merge[bot] merged 1 commit into
masterfrom
aura/s2r-gate-raw-exec-window
Dec 4, 2026
Merged

omarchy-pkgs-merge[bot] merged 1 commit into
masterfrom
aura/s2r-gate-raw-exec-window

Conversation

@maralcbr

@maralcbr maralcbr commented Dec 4, 2026

Copy link
Copy Markdown
Member

What

Bumps aura from 1.0.0b18.r20261203-1 (omacom/m1n1 carry/edgeB4-7.3 3f0fcc9d55cb, introduced in omacom/omarchy-pkgs#4608) to 1.0.0b18.r20261203-2 (omacom/m1n1 carry/edgeB5-7.3 bddf45414bcf6b0245da67db8477ef111ad3df29, tagged carry-input/aura-671-bddf45414bcf).

Adds a single carry on top of 3f0fcc9d55cb from upstream PR aurora-silicon/aura#671 (2fc0ac9180e3):

  • Exposes ctxr_exec_expected() from src/ctxr_exec.c (backed by data/execute-window.json: M4, A18 Pro / T8140, M5 and later).
  • In dt_set_s2r_mailbox(), withholds /chosen/aurora,s2r-mailbox and records /chosen/aurora,s2r-unavailable = "raw boot of an execute-window chip: S2R requires Mach-O Stage 1" whenever ctxr_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 raw m1n1-aurora Stage 1 (no CTXR execute window). With aurora-silicon/aura#647 carried on b18, ACC_CTXR_D_CTL_EL2 only carries lock bits, so dt_set_s2r_mailbox() published /chosen/aurora,s2r-mailbox even without an execute window. Linux then defaulted mem_sleep to deep on 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 s2idle while leaving:

  • M1–M3 boots (ctxr_exec_expected() == false) unchanged;
  • Mach-O Stage 1 execute-window boots (ctxr_exec_window() == true, e.g. Neo installed with omacom/omarchy-mac-installer#273) unchanged, continuing to publish /chosen/aurora,s2r-mailbox and default to deep.

Stage 1 enrollment is unchanged (build-qualification.json hardware_tested stays false, stage1_auto_enrollment stays false).

Tested

  • Upstream PR aurora-silicon/aura#671 host pytest suite (test_s2r_mailbox_gate.py + ctxr_exec / mmu / smp tests): 91/91 passed locally; upstream CI running.
  • Carried tree omacom/m1n1 carry/edgeB5-7.3 (bddf45414bcf, including adapted #647 test_s2r_mailbox_follows_ctxr_d_ctl): 92/92 host pytests passed.
  • Local validate-qualification.py --build-only against bddf45414bcf6b0245da67db8477ef111ad3df29 and tests/pinned-sources.sh: passed.

Risk

Two-way door: Stage 2 bootloader on aarch64 Macs (ESP only; Stage 1 untouched). Only affects raw unconfined boots of execute-window chips (data/execute-window.json), where deep currently reboots the machine.

Not yet

  • Native aarch64 package build (runs in PR CI).
  • Hardware verification on a raw-Stage-1 MacBook Neo confirming /proc/device-tree/chosen/aurora,s2r-unavailable is present, /proc/device-tree/chosen/aurora,s2r-mailbox is absent, /sys/power/mem_sleep stays [s2idle], and s2idle suspend/wake works cleanly without rebooting.
  • Upstream merge of aurora-silicon/aura#671.

…window boots

Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
Copilot AI balanced review requested due to automatic review settings December 4, 2026 09:55
@omarchy-pkgs-merge
omarchy-pkgs-merge Bot enabled auto-merge (squash) December 4, 2026 09:55

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.

🔵 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-2 and 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

@omarchy-pkgs-merge
omarchy-pkgs-merge Bot merged commit f896391 into master Dec 4, 2026
15 checks passed
@omarchy-pkgs-merge
omarchy-pkgs-merge Bot deleted the aura/s2r-gate-raw-exec-window branch December 4, 2026 09:57
@greptile-apps

greptile-apps Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 Tier: plusRetriggerView in Greptile

[Medium impact] No blocking issue was established in the reviewed package changes.

Summary

Updates aura to 1.0.0b18.r20261203-2, pins the new carry, and updates the matching qualification record.

  • Raw boots on execute-window chips stay on s2idle.

Reviews (1) · Last reviewed commit: "aura 1.0.0b18.r20261203-2: carry aurora#..." · Reviewed by Greptile

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Publish succeeded → live

Package Arch Status
aura aarch64 PR artifact
Channel Status Packages
edge/aarch64 published aura-1.0.0b18.r20261203-2-aarch64

Commit f896391 · run

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