mem-cache: Add missing StridePrefetcher invalidation
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Tue, 6 Oct 2020 12:30:04 +0000 (14:30 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Thu, 8 Oct 2020 18:32:00 +0000 (18:32 +0000)
commitcae67357bce8d617226eb68571207ddc9fb6431f
tree8e39280a386abc2f1d1d828c1ad5099bbae3f720
parent3e3152fe0b69b9279729d1de878da2a84ba41826
mem-cache: Add missing StridePrefetcher invalidation

A call to the entry's parent's invalidate function was missing.
Since an entry was only invalidated right before being used,
previous behavior was not breaking anything.

Change-Id: Ibbf31a0099600a8f6be70b3426bac9fcd1e5c749
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35696
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/cache/prefetch/stride.cc