changeset 9077e269ca4a in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=9077e269ca4a
description:
mem: Add forward snoop check for HardPFReqs
We should always check whether the cache is supposed to be forwarding
snoops
before generating snoops.
diffstat:
src/mem/cache/cache_impl.hh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 404b2b015a17 -r 9077e269ca4a src/mem/cache/cache_impl.hh
--- a/src/mem/cache/cache_impl.hh Tue May 05 03:22:24 2015 -0400
+++ b/src/mem/cache/cache_impl.hh Tue May 05 03:22:25 2015 -0400
@@ -1950,7 +1950,7 @@
} else {
CacheBlk *blk = tags->findBlock(mshr->blkAddr, mshr->isSecure);
- if (tgt_pkt->cmd == MemCmd::HardPFReq) {
+ if (tgt_pkt->cmd == MemCmd::HardPFReq && forwardSnoops) {
// We need to check the caches above us to verify that
// they don't have a copy of this block in the dirty state
// at the moment. Without this check we could get a stale
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev