Repository navigation
dmaengine: apple-sio: select firmware behavior from compatible data - #603
Conversation
The T6030 backend is already enabled in the shared kernel fragment, but it has a separate build option and repeated conditional code. Compile it with the common SIO driver and select its boot-table validator, FIFO threshold and descriptor handling through the existing apple,t6030-sio compatible. The generic apple,sio profile retains the M1/M2 behavior. Keep the protocol-10 validation and refuse incompatible tables before DMA or hardware setup. Remove APPLE_SIO_T6030 and its shared fragment request. Update the binding description, synthetic DT overlay and KUnit probe cases to cover the specific match, missing/older tables and an unknown compatible. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]> (cherry picked from commit e3653e6) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The convergence stack build is still waiting for a buildbox slot, because every slot is busy with other builds. It is buildbox |
|
The stack build passed: |
|
Boot-tested in fleet10 (7.3.0-aurora-fleet10): integration/aurora 1173b79 plus 587, 588, 589, 590, 596, 599, 600, 601, 603, 604, 605, 607 and 608, built with the shipping recipe (Fedora Asahi base + asahi.config, 0 mismatches, all distro gates). apple-dcp host selftests 80/80, and the other host tests match integration/aurora exactly (62 pass, the same 26 pre-existing failures). One-shot boots on the Neo (J700), the M2 and the M1 Pro, compared with each machine's fleet9 boot; fleet10 is now the default on all three. Full dmesg and journals are in aurora-ctl reports/fleet10-20261030. Result for this PR: pass.
|
This carries e3653e6 from aurora-wip onto integration/aurora, as part of converging the two kernel lines.
The T6030 SIO backend had its own build option,
APPLE_SIO_T6030, and#ifblocks through the driver. Now theapple,t6030-siocompatible selects the boot-table check, the 0x600 FIFO threshold and whole-descriptor publishing through match data. The genericapple,sioprofile keeps the M1/M2 behaviour (0x800, no table check). The protocol-10 validation still runs before any DMA or hardware setup. This removes the option and its asahi.config line, as the rule against platform knobs asks. The binding text and the KUnit probe overlay cover the specific match, missing or older tables and an unknown compatible.The only conflict was the asahi.config line, which is dropped.
Testing
APPLE_SIO=y, which the shipping recipe does not set (it builds SIO as a module), so they still need a separate KUnit run.apple,t6041-sio) stays unbound, as it is today.🤖 Generated with Claude Code