From 3d334321360de7f8a7ce90b018c10b9495fec198 Mon Sep 17 00:00:00 2001 From: Ali Jafri Date: Tue, 5 May 2015 03:22:25 -0400 Subject: [PATCH] mem: Add forward snoop check for HardPFReqs We should always check whether the cache is supposed to be forwarding snoops before generating snoops. --- src/mem/cache/cache_impl.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2