mem-cache: Promote deferred targets on cache clean responses
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Sun, 18 Mar 2018 22:07:30 +0000 (22:07 +0000)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Fri, 22 Jun 2018 17:39:16 +0000 (17:39 +0000)
commitfe330fdd3568beb880465a0ee974c7913d73dfcb
tree014244ab7ae7b686709cbe0b078e7198ff4c8fa1
parentf4015a2c62e7cd8c169dae801e6d6901f40e1e40
mem-cache: Promote deferred targets on cache clean responses

While a cache clean operation is pending, all requests to the
corresponding block get deferred. When the response of a cache clean
operation is received, if the block is present and the response is not
invalidating, we can service all deferred targets that didn't require
writable. This change implements this functionality.

Change-Id: Ief47e74d07749a6a9736ab450eb46eefa53464a2
Reviewed-on: https://gem5-review.googlesource.com/11018
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/mem/cache/base.cc
src/mem/cache/cache.cc