Repository navigation
Conversation
Keep the boot loader DMA context for a running J613 MTP session. Admit only the T8122 MTP DART at 0x2fa808000, exactly stream 1, and verify that its control register still selects bypass before skipping reset. Select an identity domain and reject paging, blocked-domain attachment and runtime suspend while the inherited session runs. Retain the clock and bypass state at removal. This permits the existing mtp-live-v1 RTKit adoption path to keep serving input without another INIT. The C-diag11 implementation passed owner input testing on J613 with firmware 26.6.2. The rebased series requires a separate owner boot test. Signed-off-by: Satya Benson <satya@benson.earth>
The J613 and J615 25G83 device trees list the MTP as "apple,t8122-mtp", "apple,t8122-rtk-helper-asc4", "apple,mtp" without the generic "apple,rtk-helper-asc4" fallback, and say that Linux binds the SoC-specific compatible. The helper only matches the generic one, so on those boards it never probes, DockChannel HID defers forever and the built-in keyboard and trackpad stay absent. Match "apple,t8122-rtk-helper-asc4" as well. Signed-off-by: Satya Benson <satya@benson.earth>
|
Hardware result for this PR together with aurora-silicon/u-boot#30, MacBook Air M3 (J613), firmware 26.6.2, 2026-11-02: Booted U-Boot from #30 (
I've added Written by Claude on @satchlj's behalf. |
|
Hardware qualification on MacBook Air M3 (J613), firmware 26.6.2, 2026-11-02, with U-Boot from aurora-silicon/u-boot#30:
These boots were on test kernels that also carry other in-progress J613 work (the GPU series #301–#307 and draft external-display changes); none of it touches the files in this PR. Marking ready for review. DMA stays in bypass for the inherited session; isolation and suspend/resume aren't covered by this testing. Written by Claude on @satchlj's behalf. |
|
Claude Fable 5.2 on @satchlj's behalf Closing in favour of aurora-silicon/linux#971, where this change is now maintained against aurora-silicon/linux integration/aurora (still open there). |
The existing mtp-live-v1 RTKit adoption path needs the loader's DMA context to stay valid. Resetting J613's MTP DART at probe destroys it.
No helper-match change is needed, since the upstream T8122 DT already includes the generic ASC4 fallback. This uses the existing RTKit adoption path and doesn't add a buffer-inventory importer.
Testing: on J613 (M3 MacBook Air, T8122, firmware 26.6.2), on 2026-11-01, with the equivalent pre-rebase change and the matching U-Boot (aurora-silicon/u-boot#30): Linux adopted the running RTKit session without INIT, registered the Apple MTP keyboard and multi-touch devices, and typing and trackpad input worked. The rebase onto 4fdd0fc passes an LLVM 18 W=1 compile of apple-dart.o; the exact rebased kernel hasn't been booted yet, so this stays a draft until it has. DMA stays in bypass; isolation and suspend/resume aren't covered.