summaryrefslogtreecommitdiff
path: root/src/arch/alpha/AlphaTLB.py
diff options
context:
space:
mode:
authorAli Jafri <ali.jafri@arm.com>2015-09-25 07:26:57 -0400
committerAli Jafri <ali.jafri@arm.com>2015-09-25 07:26:57 -0400
commit6ac356f93b897c8a80378f114865240cba96b693 (patch)
tree8207ecd8c01334562136285be7d64ab7ef9455f6 /src/arch/alpha/AlphaTLB.py
parent79d3dbcea82cf2197920981999ad458ed3a34690 (diff)
downloadgem5-6ac356f93b897c8a80378f114865240cba96b693.tar.xz
mem: Add CleanEvict and Writeback support to snoop filters
This patch adds the functionality to properly track CleanEvicts and Writebacks in the snoop filter. Previously there were no CleanEvicts, and Writebacks did not send up snoops to ensure there were no copies in caches above. Hence a writeback could never erase an entry from the snoop filter. When a CleanEvict message reaches a snoop filter, it confirms that the BLOCK_CACHED flag is not set and resets the bits corresponding to the CleanEvict address and port it arrived on. If none of the other peer caches have (or have requested) the block, the snoop filter forwards the CleanEvict to lower levels of memory. In case of a Writeback message, the snoop filter checks if the BLOCK_CACHED flag is not set and only then resets the bits corresponding to the Writeback address. If any of the other peer caches have (or has requested) the same block, the snoop filter sets the BLOCK_CACHED flag in the Writeback before forwarding it to lower levels of memory heirarachy.
Diffstat (limited to 'src/arch/alpha/AlphaTLB.py')
0 files changed, 0 insertions, 0 deletions