Skip to content

media: apple: ave: admit Neo macOS 27.2 firmware - #1990

Draft
RyanTheTide wants to merge 2 commits into
mainfrom
fw272/neo-ave
Draft

RyanTheTide wants to merge 2 commits into
mainfrom
fw272/neo-ave

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Problem. The Neo's macOS 27.2 encoder firmware is refused: AVE admits only the 25G83 build. The 27.2 image keeps DATA at 0x130000 and grows TEXT to 0x154000.

Change. Admit the 27.2 image by its TEXT CRC next to the 25G83 tuple, on the T8140 encoder compatible. It uses the existing macOS 27 ordinary-encode command layout. MCTF stays on its own qualification path. A code comment now describes the shared command layout without reference to other software.

Testing. New KUnit assertion covers both T8140 build tuples and their layout pick. arm64 QEMU AVE suite 45/45, including all 20 apple-ave-abi cases.

Still to run. Neo on the 27.2 stub: encode plus suspend/resume, 20/20 runs.

Accept the T8140 26B123 firmware identity and select the existing macOS 27 command layout while retaining the 25G83 build.

Assisted-by: LLM
The comment over the 26A428 layout selection now states the shared
fact (the same ordinary-encode command layout) for the three builds.
Comment only.

Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Early note on this draft (no full review yet):

  1. drivers/media/platform/apple/ave/ave-drv.c:112-115 (ave_t8140_builds[]): the 27.2 image is admitted per SoC compatible, by a build tuple listed under T8140 only. The layout is already chosen from the image's own TEXT CRC (ave_layout_for_crc(), ave-layout.c:964), so let the firmware identity decide admission (any SoC whose loaded image has a known CRC and the matching TEXT/DATA sizes) rather than a per-SoC build list. If a per-SoC list is really needed, say why in the commit message.
  2. drivers/media/platform/apple/ave/ave.h:176 and ave-fw.c:43: the new comments quote the firmware image's internal name and version string. Identify the build by the macOS release and build number only (as the macro name already does).

Assisted-by: LLM (Claude:Opus 5.5)

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Closing: the 27.2 image is admitted from a per-SoC build list; it should be admitted by the image's own identity, with a Neo row on a 27.2 stub.

@RyanTheTide RyanTheTide reopened this Nov 22, 2026
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Reopened and kept as a draft; the comment above lists what it still needs before review.

This branch has not been deployed

No deployments
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