mem-ruby: Use check_on_cache_probe to protect locked lines from eviction
authorPouya Fotouhi <Pouya.Fotouhi@amd.com>
Thu, 8 Aug 2019 00:43:27 +0000 (19:43 -0500)
committerPouya Fotouhi <pfotouhi@ucdavis.edu>
Mon, 12 Aug 2019 18:21:28 +0000 (18:21 +0000)
commit507a0cecc5fb7e7575079e945188800552f30288
tree4f12cc8408249a53bae9a0312f99226e52bf47f0
parente424be8281cfca6b05297a9d51ca979b555bdfca
mem-ruby: Use check_on_cache_probe to protect locked lines from eviction

This change uses check_on_cache_probe statement to check if the cacheline
subject to eviction is locked in MESI Three Level.

Change-Id: Ib0de54aa067c7603db1f7321cc4825b123b641ac
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19868
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/protocol/MESI_Three_Level-L0cache.sm