summaryrefslogtreecommitdiff
path: root/src/mem/packet.hh
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2010-09-09 14:40:19 -0400
committerSteve Reinhardt <steve.reinhardt@amd.com>2010-09-09 14:40:19 -0400
commit12497284949cb5418e6bc403723c034aee655666 (patch)
tree425830586f5c32fe2674a3eb998678ef633d2d6e /src/mem/packet.hh
parent6dc599ea9bae9cb56ca81094b37009f5a14ebdff (diff)
downloadgem5-12497284949cb5418e6bc403723c034aee655666.tar.xz
cache: fail SC when invalidated while waiting for bus
Corrects an oversight in cset f97b62be544f. The fix there only failed queued SCUpgradeReq packets that encountered an invalidation, which meant that the upgrade had to reach the L2 cache. To handle pending requests in the L1 we must similarly fail StoreCondReq packets too.
Diffstat (limited to 'src/mem/packet.hh')
-rw-r--r--src/mem/packet.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/packet.hh b/src/mem/packet.hh
index cc2a39d0e..cefb7c2ed 100644
--- a/src/mem/packet.hh
+++ b/src/mem/packet.hh
@@ -90,6 +90,7 @@ class MemCmd
ReadExResp,
LoadLockedReq,
StoreCondReq,
+ StoreCondFailReq, // Failed StoreCondReq in MSHR (never sent)
StoreCondResp,
SwapReq,
SwapResp,