Repository navigation
J813: internal NVMe on the MacBook Air M5 (T8142 ANS2) - #995
Merged
Merged
Conversation
T8142 (M5) ANS2 behaves like T8140: separate NVMe (non-secure alias) and NVMMU windows, post-M4 queue setup, three power domains. Allow apple,t8142-nvme-ans2 with apple,t8140-nvme-ans2 as fallback and apply the three-region reg rule to the T8140 family as well. Signed-off-by: Thomas Glanzmann <[email protected]>
The T8142 (M5) SART is the coastguard SART with sart-version 3, the same layout as T6000. Signed-off-by: Thomas Glanzmann <[email protected]>
The J813 (MacBook Air 13-inch, M5) ANS2 is laid out like T8140's: LSQ NVMMU, separate NVMMU, IOQ registers, 64-deep queues and broken FUA. As on every post-M4 controller the final shutdown sends SHN. aura (the J813 boot loader) leaves the controller and its RTKit session running for Linux to adopt. Signed-off-by: Thomas Glanzmann <[email protected]>
This was referenced Nov 5, 2026
RyanTheTide
added a commit
that referenced
this pull request
Nov 6, 2026
Carries the work merged on aurora-wip since #1018 into the release branch: M5 T8142/J813 bring-up (#995 #996 #997 #998 #1001 #1002 #1003), T8152/J873 bring-up (#984 #1009 #1013 #1022), J813 AVD/ISP (#1026) and the selftest harness updates (#1014). The merge is clean; the 13 integration/aurora commits since #1018 are kept. Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM
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.
The MacBook Air M5's internal SSD: the T8142 ANS2 entry in the Apple NVMe driver (laid out like T8140's; the final shutdown sends SHN as on every post-M4 controller) and the T8142 compatibles in the apple,nvme-ans and apple,sart bindings. aura leaves ANS and its RTKit session running for Linux to adopt.
Tested on the MacBook Air 13-inch M5 (J813): the nine J813 branches (nvme, platform, dts, soc, wireless, media, sound, display, gpu-m5) merged onto integration/aurora 11eccbe, built with the J813 config (7.3.0) and booted through aura's aura-try trial boot. systemd reaches running: NVMe root, the N1 Wi-Fi, the AVD and ISP drivers, PSCI cpuidle, the E/P states, CLPC/PMC and the PMP come up, the M5 GPU backend starts firmware 25G76, and drm/apple drives the panel.
Two sound findings from that boot, neither yet resolved: the installed aura predates the amp-level injection now in aura main, so macaudio disables the speakers (the card binds, but the DT this boot used carries no apple,speaker-config); and opening the microphone fails with
LEAP leaf 2 did not power up: Error(110), while the same T8152 driver on the J813's current 7.1 kernel records.Stability caveat: a second boot of the same image hung about 38 s in, just after the NTP step set off the daily fstrim/apt timers, with no panic record (no pstore). The first boot went through the same timer burst and stayed up for minutes. Until the hang is understood, the combined tree is not proven stable across reboots.
cc @Acelogic @DjDeveloperr @RyanTheTide @LiamRay10