mem: have WriteInvalidate obsolete MSHRs
authorCurtis Dunham <Curtis.Dunham@arm.com>
Thu, 30 Oct 2014 04:18:24 +0000 (23:18 -0500)
committerCurtis Dunham <Curtis.Dunham@arm.com>
Thu, 30 Oct 2014 04:18:24 +0000 (23:18 -0500)
commit46f9f11a5575a0ec8a69a1c0181b37668de65152
treea8e093ee4c180b1f61099ce0487076fc6ea374ef
parent8b7724d04c8bd337c096ac4364beceac6a64cde2
mem: have WriteInvalidate obsolete MSHRs

Since WriteInvalidate directly writes into the cache, it can
create tricky timing interleavings with reads and writes to the
same cache line that haven't yet completed.  This patch ensures
that these requests, when completed, don't overwrite the newer
data from the WriteInvalidate.
src/mem/cache/cache_impl.hh
src/mem/cache/mshr.cc
src/mem/cache/mshr.hh