mem-cache: Promote targets that don't require writable
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Sat, 17 Mar 2018 01:50:57 +0000 (01:50 +0000)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Fri, 22 Jun 2018 17:39:16 +0000 (17:39 +0000)
commitf4015a2c62e7cd8c169dae801e6d6901f40e1e40
tree99f6ff952cdd82565d19a84c400c47dbcfa9161e
parente656eeb288f8de94cc293012ba74c9c05fd75da3
mem-cache: Promote targets that don't require writable

Until now, all deferred targets of an MSHR would be promoted together
as soon as the targets were serviced. Due to the way we handle cache
clean operations we might need to promote only deferred targets that
don't require writable, leaving some targets as deferred. This change
adds support for this selective promotion.

Change-Id: I502e523dc9adbaf394955cbacea8286ab6a9b6bc
Reviewed-on: https://gem5-review.googlesource.com/11017
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/mem/cache/mshr.cc
src/mem/cache/mshr.hh