mem-cache: Align how we handle requests in atomic with timing
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Tue, 6 Nov 2018 11:24:01 +0000 (11:24 +0000)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Tue, 13 Nov 2018 14:13:26 +0000 (14:13 +0000)
commit2f52a9b65ee37ba8f34ac3d46f96dca9afc02c7c
tree0ff1b7b5146a5c0ec1935d43b7ce30405d1bdcde
parentd8705a73771ea213b1e52c6cdfad3bd05b3210c5
mem-cache: Align how we handle requests in atomic with timing

Requests, for which a cache has already committed to respond do not
perform any lookups. Previously in atomic mode the packet would pay
the lookup latency while in timing it wouldn't. This patch aligns
recvAtomic with recvTimingReq and removes the lookup latency from the
the handling of such requests.

Change-Id: I50a0631f8058e5086d94d55af0e1788a60e2883f
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/14175
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
src/mem/cache/base.cc
src/mem/cache/cache.cc