mem: Ensure InvalidateReq is considered isForward by MSHRs
authorAndreas Hansson <andreas.hansson@arm.com>
Mon, 5 Dec 2016 21:48:23 +0000 (16:48 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Mon, 5 Dec 2016 21:48:23 +0000 (16:48 -0500)
commit50812a20f1f92782f6d8f4976ce39753e7c0864d
tree57d987298df4f08dc95f30d10c7f0caaec0e4de9
parente16967941bceae40449cf56f822420a7088bd08a
mem: Ensure InvalidateReq is considered isForward by MSHRs

This patch fixes an issue where an MSHR would incorrectly be perceived
to provide data to targets arriving after an InvalidateReq. To address
this the InvalidateReq is now treated as isForward, much like an
UpgradeReq that did not hit in the cache.

Change-Id: Ia878444d949539b5c33fd19f3e12b0b8a872275e
Reviewed-by: Andreas Hansson <andreas.hansson@arm.com>
Reviewed-by: Stephan Diestelhorst <stephan.diestelhorst@arm.com>
src/mem/cache/cache.cc