Repository navigation
payload: nvme.handoff=off hands every payload a post-M4 ANS powered off - #218
Closed
RyanTheTide wants to merge 1 commit into
Closed
RyanTheTide wants to merge 1 commit into
RyanTheTide wants to merge 1 commit into
Conversation
A post-M4 ANS can now be started from off by every stage that runs after aura: aura itself (nvme.sart=), U-Boot and Linux, all from the SART entries in apple,sart-entries. Until the U-Boot and kernel a Mac runs can do that, Stage 2 still hands ANS on running to U-Boot and to Linux (boot=). With nvme.handoff=off in the configuration, no payload gets ANS running: an ANS an earlier stage passed off stays off, this stage powers off the one it used, and a session an older Stage 1 passed on running (nvme.adopt=) is taken over and powered off. kboot then passes the SART entries on as for any off handoff. Without the variable nothing changes. M1-M3 and T8152 don't change. Assisted-by: LLM Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
RyanTheTide
force-pushed
the
fix/payload-post-m4-ans-off
branch
from
November 13, 2026 10:30
7ba7176 to
5158c61
Compare
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.
Stacked on #213.
A post-M4 ANS can now be started from off by every stage that runs after aura: aura (
nvme.sart=), U-Boot (aurora-silicon/u-boot#48) and Linux (aurora-silicon/linux#1808), each from the SART entries inapple,sart-entries. Until the U-Boot and kernel on a Mac can do that, Stage 2 still hands ANS on running to U-Boot (#213) and to Linux (boot=).This adds one configuration variable for the switch:
With it, no payload gets a post-M4 ANS running:
nvme.handoff=offnvme.sart=)boot=, chainload)boot=)nvme.adopt=)kboot then writes
apple,sart-entriesas for any off handoff ("FDT: ANS will be off; N SART entries passed on"), and/chosen/aurora,nvme-handoff = "off", so U-Boot also hands ANS to the OS powered off (aurora-silicon/u-boot#48). M1-M3 and T8152 don't change.Tested
tests/python/test_m3_defaults_optout.py: 156 passed, 8 skipped. Three new cases cover entries passed off staying off, an older Stage 1's live session being taken over and powered off, and pre-M4 being left alone.tests/python: 669 passed. The failures are all in modules this doesn't touch:serialandconstructaren't installed on the build host, and the fatfs license file is missing from agit archivetree.🤖 Generated with Claude Code