Repository navigation
Conversation
Describe the M4 controller variants, board power ownership and retained input handoff through the existing subsystem bindings. Source-commit: 9251bffee1094e1c36b9f084546b828a7d2c768e Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Add endpoint-aware setup, validated inherited buffers and protocol selection with matching C/Rust operations. Both CoreAnalytics start and readiness wait require one explicit firmware-instance opt-in; ordinary Rust clients keep the default immutable operations table. Source-commit: 15cfda073d38bceee79a76840b5a1d6bdf11c0f7 Source-commit: 85165a160e24c90fd4e046e56b66c59ef8aa752b Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Validate the loader buffer inventory and preserve its running MTP session. Expose retained input ownership to DockChannel without reallocating firmware storage or restarting the coprocessor. Source-commit: 3149321e28e36d1c36cc9af059e6638bfa5aad05 Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Use the retained helper contract before deciding whether to start a new HID session, preserving the boot producer's negotiated transport. Source-commit: 79fbbe154dd0879081d0b3eae0a6dc43f4c18407 Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Preserve an inherited MTP bypass and the qualified radio aperture. Leave the boot framebuffer translations with their current display owner. Source-commit: 11b020daf80094b8d721bc8b04ce45d1919f98ed Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Extend the shared GPIO interrupt handling for the T8132 bank layout. Source-commit: aae59e3e58bb8474386cf3231fc1ed75135d8e90 Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Use the qualified T8132 register and firmware initialization contract in the existing Apple ANS driver. Source-commit: 01502984b1c9446969a026d61003545ca6f2b20c Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Admit the T8132 controller through the shared Apple PCIe implementation. Source-commit: 5f54074ce557c6f99517d9b79e8732fdfb1463f6 Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
The J713 BCM4388 message-buffer ABI carries 64-bit host addresses while its IOVA aperture begins above 1 TiB. Set the T8132 radio DMA mask before allocating rings so the driver can use the retained aperture. Keep integration/aurora's scan deadline, exact BCM4388C2 revision match and validated version-116 BSS parser instead of carrying their older bring-up implementations. Source-commit: b972f208ae8d1698ad05763a4b6b8055b4897a9d Source-snapshot: 6090f9eb8237c86526508d76a4539852089942d5 Assisted-by: LLM
Describe the T8132 ATC PHY fields in the shared driver and extend its register-policy coverage. Source-commit: 8667455a79d1e7acded9295b65947a4a3ba97a24 Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Use the M4 USB2 controller variant through the shared Apple DWC3 driver. Source-commit: b71e7184f0ebb4958487a849f5b150ee12150496 Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Apply the qualified SPMI transport behavior to the T8132 Type-C controller. Source-commit: 51fa2aacdf22726b8200906811de85ea1ed34ddc Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Describe the T8132 request layout, wait for pending votes and retain the PMP supplier dependency. Extend the shared PMC policy coverage. Source-commit: 69de52847793021b1d1f47de2882503dff46b086 Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Select the known active memory floors for CPU and GPU demand without inventing intermediate frequency-to-memory mappings. Source-commit: 551311604a7a12b73eab15d1d60b6c92c68386b7 Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Extend the shared memory-controller initialization for T8132. Source-commit: 98d766a19b9c93d3260fbaf363248a6c6a833933 Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Provide an opt-in driver hook for hardware whose retained firmware session has no safe manual teardown path. Source-commit: dff38041f82ba1d7c9ea94626df2ee38a5670ad3 Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Extend the PMP registry/report contract and link read-only telemetry with the Rust firmware owner. Select CoreAnalytics before mailbox RX only for the qualified T8132/J713 instance; other firmware keeps its previous startup contract. Record consistency does not establish an advancing firmware temperature heartbeat. Source-commit: 27d77701c2d47b90597eab7c662c177e18e4a34a Source-commit: 85165a160e24c90fd4e046e56b66c59ef8aa752b Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Support the T8132 state width and retain a bootstrap QoS ceiling until the board policy owns protection. Preserve policy resources across cluster offline and synchronize ownership with final policy teardown. Source-commit: 9496f1922fd47f653549cd0ac5074043e1460c36 Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Bind CPU protection and measured-rail budgeting to owner-managed PMP telemetry. Separate the explicitly provisional emergency shutdown policy from Linux cooling controls and document the unqualified firmware limits. Keep startup, provider lifetime and policy coverage with the implementation. Source-commit: 2c77214dec2a2604685f53eb1d48477ddd78bb1c Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Match the native J713 pKW4 gP13 action template, inserting only the requested level in its argument. Keep this exact board/key contract separate from generic GPIO commands and the existing J700 pcIO path. Report only the last successful native command when readback is not qualified; serialize cache updates with writes and preserve prior state on errors without claiming firmware rollback. Include production callback coverage with the implementation. Source-commit: 85807365e85eac0cb51b8c44caffc638be98b10d Source-snapshot: 9ffa1fbed1e052d9706ad3e13c8663bc8ffe3d8d Assisted-by: LLM
Describe the M4 storage, retained input, radio, USB2, PMP and memory controllers separately from J713 board activation. Preserve the current CPU cache descriptions and use the existing timer, PMGR and watchdog nodes from integration/aurora rather than duplicating them. Keep optional controllers disabled until the board enables their qualified power and firmware handoffs. The following commit installs J713 PMGR ownership policy and its original-loader compatibility path atomically. Source-commit: 050f1a0059233cf33918f9844a98ed273feb8bad Source-snapshot: 6090f9eb8237c86526508d76a4539852089942d5 Assisted-by: LLM
Enable the J713 platform together with its explicit PMGR availability and firmware-ownership policy. Keep the original-loader adapter in the same change so native and retained legacy descriptions admit the same domains before OF population. Consumer drivers and the SMC radio action precede this board enablement. Resolve OF ancestry component by component, refuse an absent policy parent and include the actual-source PMGR regression. Preserve the native static resource topology when the companion m1n1/U-Boot handoff imports current firmware allocations into the per-kernel device tree. Source-commit: 050f1a0059233cf33918f9844a98ed273feb8bad Source-snapshot: 6090f9eb8237c86526508d76a4539852089942d5 Assisted-by: LLM
Merge with the existing arm64 defconfig and Asahi fragment instead of carrying a separate distribution-sized configuration. Build the boot storage, retained input and platform/thermal owners in, and retain the firmware framebuffer for this first series. Assisted-by: LLM
Qualify the J713 T8132 controller at its own aperture for the existing serialized NVRAM write path. Retain the J613 checks, read-only startup, pinned partition, JEDEC/protection checks and per-mutation verification. Add board/aperture rejection controls to the host harness and document one-time boot-volume selection. Assisted-by: LLM
List the controller compatibles already matched by the driver and used by the J613 and J713 device trees. Assisted-by: LLM
Add banked T8132 ATC calibration and the shared USB host startup needed for the admitted J713 ATC1 port. Check inherited common-domain state before taking ownership and preserve unsupported port profiles as USB2. Keep display crossbar registers outside the mapped resources and support the USB side of multifunction adapters without enabling DP output. Publish the initial DWC3 host role before core initialization, propagate PHY admission failures, and validate the Type-C SPMI response bounds. Refuse suspend while a T8132 common epoch remains owned or incomplete. Cover calibration bounds/order, failure unwind, inherited PMGR policy, initial host-role ordering and transport lengths with host selftests. The integrated driver has repeatedly enumerated a 5 Gbit/s SanDisk drive through a multifunction adapter and completed matching read-only direct 512 MiB reads. Qualification is limited to ATC1; ATC0 stays USB2. Suspend, 10 Gbit/s operation and external display output remain unqualified. Signed-off-by: Eryk Wieliczko <[email protected]> Assisted-by: Codex:GPT-6
Enable the BCM4388 PCIe function and share the radio DART through explicit ordinary SIDs for Wi-Fi and Bluetooth. Admit only inactive, rootless managed streams with unmasked fault reporting, preserve unrelated streams, verify RID-to-SID publication and quarantine on mapping faults. Retain published DMA state and block unsupported takeover, reset and suspend operations until a platform reset. Keep display support outside this basic series. Constrain BCM4388 allocations to one bounded high DMA aperture, publish the context upper address through the chip's actual register and wait for each requested firmware state using one fixed deadline. Preserve legacy chip register layouts and DMA behavior. Add host tests for DMA admission, publication/quarantine, address registers and state waits. The integrated implementation has passed controller initialization, LE discovery, repeated power cycles and concurrent Wi-Fi traffic on J713. Signed-off-by: Eryk Wieliczko <[email protected]> Assisted-by: Codex:GPT-6
Reject malformed mixed-provider tuple geometry before reserving inherited device addresses. Generated-by: Codex Assisted-by: Codex:GPT-6 Signed-off-by: Eryk Wieliczko <[email protected]>
Provide fence-signalling guards and bound-device event delivery for native GPU backends. Reuse the existing sanitized arm64 feature API and DMA mappings; no private architecture cache exports are needed. Generated-by: Codex Assisted-by: Codex:GPT-6 Signed-off-by: Eryk Wieliczko <[email protected]>
Describe the qualified firmware regions, PMP relationship and inherited display ownership while retaining existing generation contracts. Generated-by: Codex Assisted-by: Codex:GPT-6 Signed-off-by: Eryk Wieliczko <[email protected]>
Route DISP and AGX votes through the existing PMP firmware owner. Preserve failure ordering and invalidate telemetry after uncertain command failures. Publish GPU budgets only to the matching consumer epoch. Generated-by: Codex Assisted-by: Codex:GPT-6 Signed-off-by: Eryk Wieliczko <[email protected]>
Connect the native GPU consumer to the shared thermal governor and measured-rail budget. Tag sleeping SMC reads by consumer epoch, start replacement consumers restricted, and retain the carried operating policy limits. Generated-by: Codex Assisted-by: Codex:GPT-6 Signed-off-by: Eryk Wieliczko <[email protected]>
Adopt retained J713 display streams without resetting their live firmware roots. Validate inherited leaf ownership against consumer reservations and Linux memory, keep DMA provenance through quarantine, and retain uncertain backing until reboot. Attach the shared fault interrupt only after both display DARTs are admitted; partial admission leaves it unobserved. Unify strict-DMA and fault-quarantine predicates with retained radio SIDs without sharing their hardware ownership. Refuse masked display faults, quarantine both display peers before releasing their shared IRQ, and adapt the scoped radio regression harness. Keep display reset explicitly blocked. Generated-by: Codex Assisted-by: Codex:GPT-6 Signed-off-by: Eryk Wieliczko <[email protected]>
Keep display components, atomic state and framebuffer ownership in appledrm while adding the qualified IOMFB 26.6 wire backend. Snapshot bounded callback inputs and retain uncertain scanout until exact successor receipts. Generated-by: Codex Assisted-by: Codex:GPT-6 Signed-off-by: Eryk Wieliczko <[email protected]>
Share tracked GPUVM lifetime, native query support and CPU-retired timestamp mappings with the G16 backend. Close unpublished VMs on allocation failure and release backend handle owners on close, while accepted jobs retain their own leases. Complete page-table rollback under PPL, then invalidate after dropping the handoff mutex. Keep legacy backend behavior and compile with G16 disabled and WERROR enabled. Generated-by: Codex Assisted-by: Codex:GPT-6 Signed-off-by: Eryk Wieliczko <[email protected]>
Add the T8132 G16G firmware backend within the Rust Asahi driver. Use the common DRM, GPUVM, GEM, fence and scheduler interfaces and the existing Mesa UAPI. Allocate private uncached command arenas per VM and fresh PB epochs per render command. Retain both hardware owners until authenticated full displacement; uncertain or aborted work remains pinned and the affected class stays unavailable until reboot. Bound render preparation with interruptible credit backpressure and charge retained VM bindings per DRM file. The current J713 profile pins about 0.7 GiB per rendering VM and does not provide a qualified physical GPU reset. Native rendering, compute, process isolation and focused GL/Vulkan regressions are exercised separately from platform power-policy qualification. Generated-by: Codex Assisted-by: Codex:GPT-6 Signed-off-by: Eryk Wieliczko <[email protected]>
Describe the native GPU and DCP components, firmware carveouts, inherited stream ownership and existing PMP provider relationships. Generated-by: Codex Assisted-by: Codex:GPT-6 Signed-off-by: Eryk Wieliczko <[email protected]>
Build native Rust Asahi and common appledrm with the complete basic platform prerequisites. Generated-by: Codex Assisted-by: Codex:GPT-6 Signed-off-by: Eryk Wieliczko <[email protected]>
Add portable tests of the production firmware encoders, ownership ledgers, page-table failure paths, submission boundaries and power policy using public synthetic fixtures. Cover interrupted submission without output- fence mutation, process close without another VM creation, bounded credit wakeup, generation churn, reserved placeholders and paired display IRQ admission. Keep live hardware regressions opt-in and retain exact source and boot identity in their reports. Generated-by: Codex Assisted-by: Codex:GPT-6 Signed-off-by: Eryk Wieliczko <[email protected]>
Document the native M4 interfaces, per-VM memory cost and resource lifetime, bounded submission backpressure, and the abort, suspend and kexec limits. State the unqualified firmware telemetry freshness and display power-policy gaps explicitly. Host tests, native functional tests and a complete conformance submission are distinct evidence. Generated-by: Codex Assisted-by: Codex:GPT-6 Signed-off-by: Eryk Wieliczko <[email protected]>
|
Thanks, a second FirmwareBuild for the 8-core loaded image is fine with us for now; it keeps the check exact, and masking the iBoot block can come later if more variants show up. Two things before we can take it. Your commit has no Signed-off-by, could you add one ( |
The 8-core M4 (J713, 13-inch MacBook Air) runs the same 25G83 G16 firmware as the qualified 10-core image: build 2 of the 26.6.2 armfw_g16g.im4p. iBoot patches the TEXT segment per device, so the loaded image differs from the qualified hash only in the block iBoot fills in after the entropy records (0x5c999-0x5d158: chip and revision records and a register tunables table) plus one header word at 0x23d. The firmware code is byte-identical, and the driver never reads that block: performance states come from the ADT and the core mask from hardware. Add the normalized SHA-256 of the 8-core loaded image as a second FirmwareBuild so the driver accepts it. Measured on one 8-core J713 over two boots, with the gpu-fw-text reservation dumped from the initramfs (aligned 64-bit loads from /dev/mem) and normalized as the driver does. Signed-off-by: Erik Bourget <[email protected]>
449f8d5 to
17f0429
Compare
|
Amended and force-pushed: the commit now carries |
|
Thanks Erik. This landed on integration/aurora through #442, which carries your commit unchanged (authorship and sign-off kept), cherry-picked onto the current tip, because this PR's base branch was far behind. Closing this one in favour of it. |
On the 8-core M4 (J713, 13-inch MacBook Air;
gpu-core-count 8) the G16 driver refuses the firmware:The only qualified build is the 10-core image (
5f65f614...). Same 25G83 firmware, build 2 of the 26.6.2armfw_g16g.im4p, but iBoot patches the TEXT segment per device.What differs: the
gpu-fw-textreservation was dumped from the initramfs (aligned 64-bit loads through/dev/mem;read()refuses no-map ranges) and normalized the way the driver does. Against the stub's build 2 (ed3b464a...normalized), 310 bytes in 15 runs differ, all inside the block iBoot fills in after the entropy records (0x5c999-0x5d158: tagged records with chip/revision ids and a register address/mask/value tunables table), plus one word at0x23d. Firmware code is byte-identical. The driver never reads that block: performance states come from the ADT ("No reference-bin defaults exist") and the core mask from hardware. The measured hash is stable across boots.Change: add the 8-core loaded image's normalized SHA-256 as a second
FirmwareBuild, with a comment saying where it comes from.rustfmtclean.Testing: with this on top of
49c5d999, the GPU initializes (M4 firmware accepted owned initdata,G16: M4 queue/resource graphs initialized), and with Mesa from aurora-silicon/mesa #28 (91ac7e2) the desktop runs accelerated:OpenGL ES 3.2 Mesa 26.3.0-devel, rendererApple M4 (G16G B0), Hyprland through SDDM. The rest of the stack is #366 + #367 as published, plus a stage 1 fix in aurora-silicon/m1n1 (separate PR).Open question: this is a per-variant hash. If you would rather qualify by masking the iBoot-filled block before hashing, or key on
hw_ids(version 0x0a021100,counts 0x0011010aon this part), say so and I will rework it. The dumped image and the diff are available.