cache: fix bug in SC upgrade handling
authorSteve Reinhardt <steve.reinhardt@amd.com>
Fri, 9 Jul 2010 00:56:13 +0000 (17:56 -0700)
committerSteve 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

index 8ff11b26fdeea47b073d39045e74affa892aecbf..76a99109d3bfbf952d93062c709cdfc3f0da83df 100644 (file)
@@ -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()) {