diff options
Diffstat (limited to 'src/mem/cache/cache.cc')
-rw-r--r-- | src/mem/cache/cache.cc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mem/cache/cache.cc b/src/mem/cache/cache.cc index 28c4343d1..2d3ab8312 100644 --- a/src/mem/cache/cache.cc +++ b/src/mem/cache/cache.cc @@ -397,10 +397,7 @@ Cache::access(PacketPtr pkt, CacheBlk *&blk, Cycles &lat, } tags->insertBlock(pkt, blk); - blk->status = (BlkValid | BlkReadable); - if (pkt->isSecure()) { - blk->status |= BlkSecure; - } + blk->status |= (BlkValid | BlkReadable); } // only mark the block dirty if we got a writeback command, // and leave it as is for a clean writeback @@ -460,10 +457,7 @@ Cache::access(PacketPtr pkt, CacheBlk *&blk, Cycles &lat, } tags->insertBlock(pkt, blk); - blk->status = (BlkValid | BlkReadable); - if (pkt->isSecure()) { - blk->status |= BlkSecure; - } + blk->status |= (BlkValid | BlkReadable); } } |