mem-cache: Copy over flags to forwarded response
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Tue, 22 Jan 2019 17:40:17 +0000 (17:40 +0000)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Tue, 26 Feb 2019 11:17:58 +0000 (11:17 +0000)
commit8e723650586e9d902d4b462ddf5bb067e5eb0757
tree0b8d6d3ff2cd160cc16ba470599eb7211d36daf5
parent32bbddf2362421021b016d995f5e27b2bceea3a2
mem-cache: Copy over flags to forwarded response

A cache that forwards a request to the memory below does not fill and
forwards the response with the data to cache above. This change
ensures that the flags of the original response are also preserved.

Change-Id: I244b20b073c31b976358816c5b14bba413b8271f
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/16182
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
src/mem/cache/cache.cc
src/mem/packet.cc
src/mem/packet.hh