From: Ali Jafri Date: Tue, 5 May 2015 07:22:25 +0000 (-0400) Subject: mem: Add forward snoop check for HardPFReqs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d334321360de7f8a7ce90b018c10b9495fec198;p=gem5.git mem: Add forward snoop check for HardPFReqs We should always check whether the cache is supposed to be forwarding snoops before generating snoops. --- 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