cache: minor SC assertion fix
Thanks to Joe Gross for finding/testing this.
This commit is contained in:
parent
968447db66
commit
45aebaccde
1 changed files with 2 additions and 1 deletions
3
src/mem/cache/cache_impl.hh
vendored
3
src/mem/cache/cache_impl.hh
vendored
|
@ -906,7 +906,8 @@ Cache<TagStore>::handleResponse(PacketPtr pkt)
|
||||||
} else if (pkt->cmd == MemCmd::UpgradeFailResp) {
|
} else if (pkt->cmd == MemCmd::UpgradeFailResp) {
|
||||||
// failed StoreCond upgrade
|
// failed StoreCond upgrade
|
||||||
assert(target->pkt->cmd == MemCmd::StoreCondReq ||
|
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;
|
completion_time = tags->getHitLatency() + pkt->finishTime;
|
||||||
target->pkt->req->setExtraData(0);
|
target->pkt->req->setExtraData(0);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue