Skip to content

J813: internal NVMe on the MacBook Air M5 (T8142 ANS2) - #806

Closed
sithglan wants to merge 3 commits into
aurora-silicon:integration/aurorafrom
sithglan:j813/feat/nvme
Closed

sithglan wants to merge 3 commits into
aurora-silicon:integration/aurorafrom
sithglan:j813/feat/nvme

Conversation

@sithglan

@sithglan sithglan commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

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): all seven J813 branches (nvme, platform, dts, soc, wireless, media, sound) merged onto integration/aurora 41c4055, built with the J813 config (7.3.0, no warnings) and booted once through aura's aura-try trial boot. systemd reaches running with no deferred devices; NVMe root, Wi-Fi and USB Ethernet, the AppleJ813 sound card, the camera (ISP) and the video decoder (AVD), PSCI cpuidle, the E/P states, CLPC/PMC and the PMP all come up, and integration's drm/apple drives the panel.

cc @Acelogic @DjDeveloperr @RyanTheTide @LiamRay10

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 <thomas@glanzmann.de>
The T8142 (M5) SART is the coastguard SART with sart-version 3, the
same layout as T6000.

Signed-off-by: Thomas Glanzmann <thomas@glanzmann.de>
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 <thomas@glanzmann.de>
@sithglan

sithglan commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #995: the same work rebased onto integration/aurora 11eccbe and boot-tested on the J813.

@sithglan sithglan closed this Nov 5, 2026
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.

1 participant