projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
968447d
)
cache: minor SC assertion fix
author
Steve Reinhardt
<steve.reinhardt@amd.com>
Mon, 18 Oct 2010 20:05:15 +0000
(13:05 -0700)
committer
Steve Reinhardt
<steve.reinhardt@amd.com>
Mon, 18 Oct 2010 20:05:15 +0000
(13:05 -0700)
Thanks to Joe Gross for finding/testing this.
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 7d19ff7a1b720d651fd8ffad5dc9beeb3320318f..c5b7ca065751e9acd20c084694ec9d7e0c656d4f 100644
(file)
--- a/
src/mem/cache/cache_impl.hh
+++ b/
src/mem/cache/cache_impl.hh
@@
-906,7
+906,8
@@
Cache<TagStore>::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 {