mem: Properly set cache block status fields on writebacks
authorMitch Hayenga <mitch.hayenga@arm.com>
Wed, 13 Aug 2014 10:57:24 +0000 (06:57 -0400)
committerMitch Hayenga <mitch.hayenga@arm.com>
Wed, 13 Aug 2014 10:57:24 +0000 (06:57 -0400)
commitf6f6ae461ee5060127fd42830fc04e5a5f4153a6
treeaf9ff66acfa3c84a866a39e2c7dc9ca829024391
parent66904b9584e09a9b6b6cb382ba208ec9a527edbe
mem: Properly set cache block status fields on writebacks

When a cacheline is written back to a lower-level cache,
tags->insertBlock() sets various status parameters. However these
status bits were cleared immediately after calling. This patch makes
it so that these status fields are not cleared by moving them outside
of the tags->insertBlock() call.
src/mem/cache/cache_impl.hh
src/mem/cache/tags/base_set_assoc.hh