summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2010-07-08 17:56:13 -0700
committerSteve Reinhardt <steve.reinhardt@amd.com>2010-07-08 17:56:13 -0700
commit897247d63bf2ae8b799a867e891d862eec2bfa5d (patch)
tree04807445958955a6a99eedae9cd070d7178df6b7 /src
parenta03c1cd6e096f0640c50ef877790cf7fc626aaff (diff)
downloadgem5-897247d63bf2ae8b799a867e891d862eec2bfa5d.tar.xz
cache: fix bug in SC upgrade handling
This bug was introduced with the recent rework of SC failure handling in cset f97b62be544f.
Diffstat (limited to 'src')
-rw-r--r--src/mem/cache/cache_impl.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh
index 8ff11b26f..76a99109d 100644
--- 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()) {