Repository navigation
sio: the M4 (T8132) takes the T6041 SIO tables - #370
DjDeveloperr wants to merge 1 commit into
Conversation
The M4 (T8132, J773g) SIO firmware reports protocol 10, and its ADT describes the tables as T6041's and T8140's do, key for key: one MISC map-range record; dSPI, dUAR and dDPA device types; SSPI, SUAR and SAUD dmashims of 36 bytes; 48 bytes of asio-ascwrap-tunables; and two segment-ranges records whose remapped end, 0x10000114000, lies inside the dart-sio window (vm-base 0x1000001c000), as on T8140. Add T8132 to the T6041 path. As before, dt_setup_sio() acts only when the device tree has the sio alias. Signed-off-by: Diljit Singh <hey@djdev.me>
|
Thanks for this, and for checking it against the J773g ADT. The SIO firmware coming up with all four regions reserved is a good result. One request about how the table layout is selected. In this project we choose behaviour by a hardware or ADT property, not by a list of chips that grows by one entry each time a new chip is tested. This PR adds T8132 to two such lists in
If you make that change, we are happy to run boot rows on our M1 Pro, M2, M4 Pro and A18 Pro machines. |
|
The J773g measurements look good, and they confirm the T6041 table layout on T8132. One thought on the selection: |
This adds the M4 (T8132) to the T6041 SIO table path from #120 and #122, for HDMI audio on the M4 Mac mini (J773g).
Checked against the J773g ADT (stub firmware 26.6.2):
MISCrecord.dSPI,dUAR,dDPA.SSPI,SUAR,SAUD, 36 bytes each.asio-ascwrap-tunables.dt_setup_sio()is unchanged. It acts only when the device tree has thesioalias, which the Linux side adds for the J773g in aurora-silicon/linux#2435.Measured on the J773g, 2026-11-19. The test Stage 2 was the mini's configured stack (e553f9d + #260) plus this change, with the #2435 device tree:
sio-firmware-dataregions.apple-sio 3ade00000.dma-controller: SIO protocol v10, driver bound, DMA channels registered.🤖 Generated with Claude Code