projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a03c1cd
)
cache: fix bug in SC upgrade handling
author
Steve Reinhardt
<steve.reinhardt@amd.com>
Fri, 9 Jul 2010 00:56:13 +0000
(17:56 -0700)
committer
Steve Reinhardt
<steve.reinhardt@amd.com>
Fri, 9 Jul 2010 00:56:13 +0000
(17:56 -0700)
This bug was introduced with the recent rework of SC
failure handling in cset
f97b62be544f
.
src/mem/cache/cache_impl.hh
patch
|
blob
|
history
diff --git
a/src/mem/cache/cache_impl.hh
b/src/mem/cache/cache_impl.hh
index 8ff11b26fdeea47b073d39045e74affa892aecbf..76a99109d3bfbf952d93062c709cdfc3f0da83df 100644
(file)
--- a/
src/mem/cache/cache_impl.hh
+++ b/
src/mem/cache/cache_impl.hh
@@
-1347,6
+1347,8
@@
Cache<TagStore>::getTimingPacket()
// as if we got a failure response
pkt = new Packet(tgt_pkt);
pkt->cmd = MemCmd::UpgradeFailResp;
+ pkt->senderState = mshr;
+ pkt->firstWordTime = pkt->finishTime = curTick;
handleResponse(pkt);
return NULL;
} else if (mshr->isForwardNoResponse()) {