diff options
author | Ali Jafri <ali.jafri@arm.com> | 2015-05-05 03:22:25 -0400 |
---|---|---|
committer | Ali Jafri <ali.jafri@arm.com> | 2015-05-05 03:22:25 -0400 |
commit | 3d334321360de7f8a7ce90b018c10b9495fec198 (patch) | |
tree | 4234091d38b911096b06989acdf22fc8e316dfa0 /src/mem | |
parent | 0ebbf3f9512609c089257158abd14b9366b72b52 (diff) | |
download | gem5-3d334321360de7f8a7ce90b018c10b9495fec198.tar.xz |
mem: Add forward snoop check for HardPFReqs
We should always check whether the cache is supposed to be forwarding snoops
before generating snoops.
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/cache/cache_impl.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh index 6817db41e..5e6eccec8 100644 --- a/src/mem/cache/cache_impl.hh +++ b/src/mem/cache/cache_impl.hh @@ -1950,7 +1950,7 @@ Cache::getTimingPacket() } 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 |