mem: Do not set cacheResponding on MSHR snoop if not responding
authorAndreas Hansson <andreas.hansson@arm.com>
Thu, 26 May 2016 10:56:24 +0000 (11:56 +0100)
committerAndreas Hansson <andreas.hansson@arm.com>
Thu, 26 May 2016 10:56:24 +0000 (11:56 +0100)
commit4ff4f9c531feb99561105117b6ceeb4eb85d7829
treecdadadcd30703a64cca43c4eff5361a47c7efe80
parent90de9be2effedc706ac45a84dec18cc328d07e64
mem: Do not set cacheResponding on MSHR snoop if not responding

This patch changes the flow control for HSHR::handleSnoop to ensure
that we only set cacheResponding on the snoop packet if we are
actually responding. This avoids situations where a responder is
stalling indefinitely on a response that never arrives.

Change-Id: I691dd01755b614b30203581aa74fc743b350eacc
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/mshr.cc