mem: Do not use sender state to track forwarded snoops in cache
authorAndreas Hansson <andreas.hansson@arm.com>
Mon, 28 Dec 2015 16:14:14 +0000 (11:14 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Mon, 28 Dec 2015 16:14:14 +0000 (11:14 -0500)
commitb93a9d0d515472d7b616e4d535d242290deeb791
tree053d180608683a6fae8fff8ab97c473da4ebb990
parent036263e28057ae39f5fd1df0cbd87094770add80
mem: Do not use sender state to track forwarded snoops in cache

This patch changes how the cache tracks which snoops are forwarded,
and which ones are created locally. Previously the identification was
based on an empty sender state of a specific class, but this method
fails to distinguish which cache actually attached the sender
state. Instead we use the same mechanism as the crossbar, and keep
track of the requests that have outstanding snoops.
src/mem/cache/cache.cc
src/mem/cache/cache.hh