Repository navigation
tools: asahi: model the T8132 members in the ATCPHY USB3 harness - #609
Merged
Merged
Conversation
The T8132 support in atc.c added the PIPE lock timeout helper, T8132 lane and PIPE back ends, a USB2-only power restore and new state members. The harness extracts the driver bodies, so it stopped compiling on integration/aurora. Extract atcphy_pipehandler_lock_timeout() with the other driver functions, since the ACK polling moved into it, and point the missing-ack-check mutation there. Add the new members to the modeled structs, and stub the T8132 back ends and the USB2-only power restore with assertions: the modeled machines never select that generation. All 36 cases pass and all 49 mutations are killed. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tools/asahi/atc-usb3-tests.pystopped compiling on integration/aurora. The harness extracts driver bodies fromdrivers/phy/apple/atc.c, and the T8132 support addedatcphy_pipehandler_lock_timeout(), the T8132 lane and PIPE back ends, a USB2-only power restore and new state members.atcphy_pipehandler_lock_timeout()with the other driver functions (the ACK polling moved there) and point themissing-ack-checkmutation at it.atcphy_usb2_power_on()with assertions, since the modeled machines never select that generation.Test-only. No driver change.
Testing on buildbox, integration/aurora 010b976 + this commit:
python3 tools/asahi/atc-usb3-tests.py: 36 cases pass (it failed to compile before).--mutations: all 49 mutations killed.🤖 Generated with Claude Code