mem-cache: Determine if an MSHR has requests from another cache
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Wed, 2 May 2018 13:41:22 +0000 (14:41 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Wed, 30 May 2018 13:08:55 +0000 (13:08 +0000)
commit8100fb5f19b09a93c1f3e3e8533322e1fa73e6d3
tree5d0450c632ea767afc5939b0382fe479e2bf86a7
parentf94f70237dfaac86c83dfbb7cb24e6a821b867eb
mem-cache: Determine if an MSHR has requests from another cache

To decide whether we allocate upon receiving a response we need to
determine if any of the currently serviced requests (non-deferred
targets) is comming from another cache. This change adds support for
tracking this information in the MSHR.

Change-Id: If1db93c12b6af5813b91b9d6b6e5e196d327f038
Reviewed-on: https://gem5-review.googlesource.com/10422
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/cache.cc
src/mem/cache/mshr.cc
src/mem/cache/mshr.hh