Skip to content

dmaengine: apple-sio: support the T6041 protocol-10 handoff - #730

Closed
RyanTheTide wants to merge 3 commits into
integration/aurorafrom
work/t3784-sio
Closed

RyanTheTide wants to merge 3 commits into
integration/aurorafrom
work/t3784-sio

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

A T6041 SIO must reject incomplete protocol-10 handoffs before DMA or firmware setup. Select boot-table validation, the 24-byte channel configuration, threshold 0x600 and descriptor clearing through the T6041 compatible; preserve the generic and T6030 20-byte configurations. Reject runtime protocol mismatches and add refusal cases through the real probe. Document the binding and expose the loader's SIO alias while retaining disabled provider statuses in the static T6040 tree.

Validation: all eleven arm64/QEMU SIO KUnit tests passed. The SIO driver, J616s DTB and arm64 kernel Image built with LLVM; mailbox, RTKit, SIO and both SIO test suites were built in. The existing ATC PHY was built in to select the baseline tunable helper. dt_binding_check DT_SCHEMA_FILES=dma/apple,sio.yaml passed schema and example checks; optional yamllint was unavailable.

Keep this draft pending a separate J616s qualification with the matching loader and fallback recovery. The T6041 24-byte firmware channel configuration has source-level coverage only; no target boot or stream is qualified here.

Companion drafts: aura, m1n1.

Describe the T6041 protocol-10 boot table requirement and its 24-byte
channel configuration under the dedicated compatible. Keep the generic
fallback limited to the existing chip profiles so an older driver cannot
claim the T6041 firmware layout.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
Reuse the protocol-10 table checks with T6041 auxiliary-buffer validation
before DMA or hardware setup. Select a 24-byte channel record, threshold
0x600 and full descriptor clearing only for T6041; keep generic and T6030
records at 20 bytes. Refuse a runtime protocol mismatch and exercise
compatible selection and malformed handoffs through the real probe.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
Provide the alias used by the loader to reserve firmware and protocol
tables. Keep provider statuses disabled in the static tree; the complete
loader handoff publishes their availability.

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

Copy link
Copy Markdown
Contributor Author

T6041 protocol-10 SIO support landed on integration/aurora via #1256 (commit ec5c067), with a different record layout than this draft. Closing in favour of the merged version.

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