Repository navigation
drm/asahi: admit the alternate T6040 loaded 25G83 image - #453
Merged
Merged
Conversation
Keep a list of admitted images on each versioned firmware Build and pass that list to fwid::identify(). Version selection uses the first matching Build, so another Build for macOS 26.6.2 would leave its image unreachable. Add the second normalized T6040 identity measured over two J616s boots. The boots differ only in their entropy payloads. Compared with the qualified 25G83 image, the remaining differences are the field at 0x23d and the iBoot-filled patchbay/tunables area. The executable code outside those areas and DATA are unchanged. This follows the J713 precedent in #442, while keeping whole-TEXT hashing and exact identity checks. Factor the existing lookup so KUnit can exercise the real T6040 and J713 lists with digest measurements, without embedding firmware. Cover both T6040 identities, both J713 identities, unknown digests and size/offset mismatches. Keep the entropy-normalization tests. Link: #442 Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Contributor
Author
|
Gate results for 26f5eb6, based on integration/aurora ff1510c.
The builds use The remaining Fedora gate must pass before these results can be called all green. This PR remains draft. No hardware testing or integration merge was performed by this worker. |
RyanTheTide
marked this pull request as ready for review
October 25, 2026 22:55
This was referenced Oct 25, 2026
erikwb
pushed a commit
to erikwb/linux
that referenced
this pull request
Oct 28, 2026
Treat the OS version as a candidate-order hint. Continue to require an exact admitted loaded TEXT image and preserve aurora-silicon#453's images list. This extends Jonathan Goyvaerts' shared identity work. Originally-by: Jonathan Goyvaerts <[email protected]> Link: aurora-silicon#428 Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
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.
A J616s with 26.6.2 boot firmware has a second loaded T6040 TEXT identity.
Buildcurrently holds one image, and version selection stops at the first matching build, so adding another 26.6.2Buildwould not admit it.This makes
Build.imagesa slice and passes the whole list tofwid::identify(). The 26.6.2 T6040 list keeps the existing03df7548…63876dcdidentity and adds190cef1946a23dfbde180592629631c3b28d0509a17eb76108b7c9a52accd9ac. TEXT and DATA sizes and entropy offsets still have to match exactly. The J713 table is unchanged.The evidence is two J616s boots with the same normalized digest. Between boots, only the two entropy payloads differ. Against build 2 of the 25G83 IPSW firmware, the other differences are the field at
0x23dand the iBoot-filled patchbay/tunables area. There are no executable-code differences outside those areas and no DATA differences. This follows #442, which admitted the corresponding loaded-image case on J713. Only entropy is normalized; the patchbay/tunables remain part of the exact hash.KUnit exercises both T6040 identities, both J713 identities, rejection of unknown digests and size/offset mismatches through the lookup used by
identify(). It uses digest facts and the existing synthetic entropy fixture. No Apple bytes or code are included.Buildbox gates are queued through a normal buildslot, at most eight CPUs/jobs and nice 10 from buildslot. They cover arm64 defconfig + asahi.config, the Fedora Asahi base + asahi.config, Image/modules/dtbs with W=e and DRM_WERROR=y, and drm/asahi KUnit under QEMU. This stays draft until the results are in. J616s boot admission and GPU smoke will be checked before merge.