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.
This bug can manifest with a store, load, store to same word as the first
one, then load, as follows. The first store succeeds, but is still in the
pending store buffer. Some unrelated load occurs. Then a store to the
same word as the first store occurs, this time detecting an ECC error.
Finally, some unrelated load occurs. (The loads are mostly irrelevant,
but the pipeline needs to stay busy for the bug to manifest.)
Since the bug can only manifest with two nearby stores to the same word,
one detecting an error and one not detecting an error, this bug is not
especially likely to occur in practice. In particular, if the error grew
before the sequence began, the bug would not manifest.
The fix is to prevent the store-merging logic from engaging by gating the
valid signal after the ECC kill occurs.
Type of change: bug report