Repository navigation
arm: apple: import the J713 external DCP handoff - #31
Merged
RyanTheTide merged 1 commit intoNov 5, 2026
Merged
Conversation
m1n1 can hand the J713's external DCPs over to the OS: it reserves their firmware memory and marks each apple,t8132-dcpext node apple,t8132-dcpext-firmware-ready with the firmware's UUID and version. Carry that to the same external DCP in the OS tree, marker last. Clear the marker there when m1n1 did not set it, and ignore a malformed handoff rather than refusing the boot for an optional display. An OS tree without the external DCPs owns none of their reservations: leave their mappings out, as for an omitted AOP, instead of failing the whole import. Signed-off-by: Erik Bourget <[email protected]>
This was referenced Nov 5, 2026
RyanTheTide
approved these changes
Nov 5, 2026
RyanTheTide
left a comment
Contributor
There was a problem hiding this comment.
Reviewed and tested here, thanks Erik.
- test_apple_j713_fdt.py passes on the PR (8 passed, 1 skipped for the private captures) and aurora-wip stays 7 passed, 1 skipped
- apple_m1_defconfig with APPLE_J713_FDT and apple_j873_defconfig both build clean with -Werror, checkpatch is clean
- the new step only runs inside the J713 importer, which needs the u-boot,j713-dtb-source identity and apple,j713 + apple,t8132 on both trees, so nothing changes on the other Macs
Merging.
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.
Companion to aurora-silicon/aura#74: with the opt-in boot.bin line
chosen.asahi,j713-dcpext=1, the boot loader hands the J713's two external DCPs (dcpext0, dcpext1) over to the OS. It reserves their firmware memory and marks eachapple,t8132-dcpextnodeapple,t8132-dcpext-firmware-ready, with the firmware's UUID and version. On J713 the kernel gets its per-kernel tree through the J713 importer, which copies only an explicit list of properties, so none of that reached the kernel.Change
j713_dcpext): for eachdcpext0/dcpext1alias in the OS tree, copyapple,firmware-uuid,apple,firmware-version,apple,firmware-compatand thememory-regionreferences from m1n1's tree, then set the marker, marker last.apple,t8132-dcpext, is ignored: the OS tree stays unmarked and the boot goes on, since the display is optional.apple,t8132-dcpextrefuses the import, transactionally, as for the AOP and SEP.dcpext0/dcpext1join the mapped aliases. An OS tree without the external DCPs owns none of their reservations, so their mappings are left out, as for an omitted AOP, instead of failing the whole import.test_j713_dcpext_handoffcovers (faults 44-47; the SEP cases are 40-43):Depends on
dcpext0/dcpext1nodes and aliases (from the J713 external display kernel PR). Without them this step does nothing.Testing
test/py/tests/test_apple_j713_fdt.py: 8 passed, 1 skipped (private_captures). checkpatch is clean.apple_m1_defconfig(withCONFIG_APPLE_J713_FDT=y) andapple_j873_defconfigbuild withWERROR, as in CI.developed and tested by Claude (Anthropic), working with me on the J713