Repository navigation
lsu: don't start a misaligned spill when the access faults - #1986
Merged
rosethompson merged 3 commits intoOct 16, 2026
Merged
Conversation
A page-crossing misaligned store whose first half faults could retire with no trap and only its second half written: while a committed I$ fill deferred the trap, the align FSM advanced to the second-half address and the fault, recomputed combinationally from the address, vanished. Gate ValidSpillM with the access's page and access faults so a faulting access keeps presenting the original address until the trap is taken. Add tests/coverage/spillfaultdefer.S, which sweeps the faulting store across an I$ line with cold caches and TLB; it fails on main at one alignment with the fault missed and the second half written. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
Author
|
Review notes: one more fault class should gate the spill.
🤖 Generated with Claude Code |
Contributor
Author
|
Merge order: this is the LSU counterpart of #1982 (IFU: no spill on a first-half fault). Merge the two together. They merge cleanly. 🤖 Generated with Claude Code |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Follow-up on the review notes:
🤖 Generated with Claude Code |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rosethompson
approved these changes
Oct 16, 2026
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.
A page-crossing misaligned store whose first half faults can retire with no trap and only its second half written: while a committed I$ fill defers the trap, the align FSM advances to the second-half address, and the fault, recomputed combinationally from the address, vanishes. This gates ValidSpillM with the access's page and access faults so a faulting access keeps presenting the original address until the trap is taken. The new tests/coverage/spillfaultdefer.S sweeps the faulting store across an I$ line with cold caches and TLB; it fails on main at one alignment (fault missed, second half written) and passes with the fix.
🤖 Generated with Claude Code