From 45aebaccde9af3ef50f8ee168606a370952a99ab Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Mon, 18 Oct 2010 13:05:15 -0700 Subject: cache: minor SC assertion fix Thanks to Joe Gross for finding/testing this. --- src/mem/cache/cache_impl.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mem') diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh index 7d19ff7a1..c5b7ca065 100644 --- a/src/mem/cache/cache_impl.hh +++ b/src/mem/cache/cache_impl.hh @@ -906,7 +906,8 @@ Cache::handleResponse(PacketPtr pkt) } else if (pkt->cmd == MemCmd::UpgradeFailResp) { // failed StoreCond upgrade assert(target->pkt->cmd == MemCmd::StoreCondReq || - target->pkt->cmd == MemCmd::StoreCondFailReq); + target->pkt->cmd == MemCmd::StoreCondFailReq || + target->pkt->cmd == MemCmd::SCUpgradeFailReq); completion_time = tags->getHitLatency() + pkt->finishTime; target->pkt->req->setExtraData(0); } else { -- cgit v1.2.3