mem-cache: Forward snoops when the cache is not responding
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Thu, 12 Dec 2019 15:49:36 +0000 (15:49 +0000)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Tue, 7 Jan 2020 09:42:01 +0000 (09:42 +0000)
commit2430be2edb0862a7598d0f8f3c8b4a5f77001df8
tree0027a7ef52e6afcfe970e0f74ebee69bec22446d
parent96e8f2ed3c3e1cfa32677dcc32f2d0c263dd6be6
mem-cache: Forward snoops when the cache is not responding

When the MSHR is handling a request that will make the block dirty the
current cache commits respond. When that's not the case the cache
should forward any snoops. This CL fixes MSHR::handleSnoop() to
implement this behavior.

Change-Id: I207e3ca4968fd9528fd4cdbfb3eb95f470b4744d
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23668
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
src/mem/cache/mshr.cc