Repository navigation
nvme: apple: drop the post-M4 adoption - #40
Draft
DjDeveloperr wants to merge 1 commit into
Draft
DjDeveloperr wants to merge 1 commit into
DjDeveloperr wants to merge 1 commit into
Conversation
This was referenced Nov 8, 2026
DjDeveloperr
force-pushed
the
fix/nvme-apple-t8140-ans-restart
branch
from
November 8, 2026 11:53
09973be to
b276b4e
Compare
DjDeveloperr
force-pushed
the
fix/nvme-apple-drop-post-m4-adopt
branch
from
November 8, 2026 11:53
068b78d to
bf4bbae
Compare
DjDeveloperr
force-pushed
the
fix/nvme-apple-t8140-ans-restart
branch
from
November 8, 2026 12:15
b276b4e to
a20e374
Compare
DjDeveloperr
force-pushed
the
fix/nvme-apple-drop-post-m4-adopt
branch
from
November 8, 2026 12:15
bf4bbae to
745a3e6
Compare
With aura powering ANS off after its own use and passing the SART entries on, nothing hands U-Boot a running post-M4 session any more but an older aura. Adopting one as it runs is gone. Such a session fails the probe with a message that names the aura U-Boot needs, so a mismatched pair says what is wrong instead of booting without NVMe silently. Hold this until the distributions make uboot-aurora require a matching aura: on an older aura U-Boot has no NVMe. Signed-off-by: Diljit Singh <[email protected]>
DjDeveloperr
force-pushed
the
fix/nvme-apple-t8140-ans-restart
branch
from
November 8, 2026 12:36
a20e374 to
66b55b3
Compare
DjDeveloperr
force-pushed
the
fix/nvme-apple-drop-post-m4-adopt
branch
from
November 8, 2026 12:36
745a3e6 to
0ac2fb7
Compare
Contributor
|
Blockers: 2.
HW row: on aurora-wip + #38 + this, with current aura main Stage 2: start from off on a J700, a J813 and one M4 (J713 or J773g), 5 cold boots each: NVMe binds, the Aurora ESP is picked, GRUB starts. Then one boot on each with the previous released Stage 2 to show the -ENODEV message and no hang. Assisted-by: LLM (Claude:Opus 5.5) |
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.
Held. Don't merge until the distributions make uboot-aurora require an aura with aurora-silicon/aura#107, until #38's start from off passes on the Neo (it failed through ANS-chain-kit-08), and until #38 has run on an M4 Mac. The merge order of this and the distribution PRs is the owner's call.
This sits on #38 (base
fix/nvme-apple-t8140-ans-restart), so the diff here is only the removal.With aura#107, aura powers a post-M4 ANS off after its own use and passes the SART entries on. After that, only an older aura hands U-Boot a running post-M4 session. This drops
apple_nvme_adopt(). A running session that an earlier stage set up now fails the probe with:A mismatched pair then says what's wrong instead of booting without NVMe and no reason given. iBoot's own session, which no stage has set up, still gets its one-time RTKit handshake. Pre-M4 doesn't change.
On an older aura this U-Boot has no NVMe. That is why it waits for the distribution pins (aurora-silicon/alarm-aurora#174, aurora-silicon/fedora-aurora#213, aurora-silicon/nixos-aurora#178). The compatibility matrix is in #38.
Size
+8/-61, one file. The second push only put braces on every branch of the probe's if chain.
Tested
apple_m1withWERRORbuilds clean with gcc 16.1.1 (0 warnings). The build guest verified clean before and after. checkpatch has nothing on the diff.loudof ANS-chain-kit-04 passed on the Neo (J700) on 2026-11-08. The Neo's installed Stage 1 (an older aura) handed its session on running, and this U-Boot printed the message above 22 s into the boot and failed the probe with -19. No hang: it went on to boot the kernel from RAM, without NVMe. The kit's image is3934c16f2b, which differs from this head only in those braces.chain, the start from off this needs, hasn't passed yet: in kit-04 aura failed before U-Boot, in kits 05 to 07 U-Boot nvme: apple: start a post-M4 ANS the boot loader powered off #38's start of ANS failed. kit-08 showed ANS's CPU keeping its idle state through aura's power-off; that is still open.0ac2fb7698) is the same removal rebased onto nvme: apple: start a post-M4 ANS the boot loader powered off #38's66b55b3783.apple_m1withWERRORbuilds clean (0 warnings).🤖 Generated with Claude Code