Get rid of bogus cache assertion.
I was asserting that the only reason you would defer targets is if a write came in while you had an outstanding read miss, but there's another case where you could get a read access after you've snooped an invalidation and buffered it because it applies to a prior outstanding miss.
This commit is contained in:
parent
2b4874449c
commit
024ec4c5c3
1 changed files with 0 additions and 1 deletions
1
src/mem/cache/cache_impl.hh
vendored
1
src/mem/cache/cache_impl.hh
vendored
|
@ -823,7 +823,6 @@ Cache<TagStore>::handleResponse(PacketPtr pkt)
|
|||
}
|
||||
|
||||
if (mshr->promoteDeferredTargets()) {
|
||||
assert(mshr->needsExclusive() && !blk->isWritable());
|
||||
// avoid later read getting stale data while write miss is
|
||||
// outstanding.. see comment in timingAccess()
|
||||
blk->status &= ~BlkReadable;
|
||||
|
|
Loading…
Reference in a new issue