mem: Add forward snoop check for HardPFReqs

We should always check whether the cache is supposed to be forwarding snoops
before generating snoops.
This commit is contained in:
Ali Jafri
2015-05-05 03:22:25 -04:00
parent 0ebbf3f951
commit 3d33432136

View File

@@ -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