mem-cache: Fix MSHR handling of cache clean requests
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Tue, 12 Feb 2019 08:26:14 +0000 (08:26 +0000)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Wed, 10 Apr 2019 09:05:02 +0000 (09:05 +0000)
commita8d5dd1c136529e9605066368877d3b8e24dcdba
treeccf4979676d9a1c0d82689a1dc9757a83c229ed0
parentdaa9dcbc0c3fe4e5014855c8b31f1cfeb5f0af91
mem-cache: Fix MSHR handling of cache clean requests

Previously satisfied clean requests would not snoop in-service
MSHRs. This is a problem when a clean request is also invalidating, in
which case we have to post-invalidate or post-downgrade outstanding
requests. This changes fixes this bug.

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