mem-ruby: Deallocating unused entries in MOESI_CMP L2
authorTiago Mück <tiago.muck@arm.com>
Wed, 15 Apr 2020 23:36:16 +0000 (18:36 -0500)
committerTiago Mück <tiago.muck@arm.com>
Wed, 6 May 2020 14:42:33 +0000 (14:42 +0000)
commit9db98e7adb384bc8cb184dd3e03c1e1d7ce49d1f
tree16ea9ed13bffe1a64cb20f103489602b412873c5
parentf4b4ff8d442b2cc73f6575391d15f6bc8aaba277
mem-ruby: Deallocating unused entries in MOESI_CMP L2

Invalid entries are never removed from the directories in the L2
controller. This patch fixes this by deallocating the entries
when they become invalid. The NP (not present) state was removed
since it's now equivalent to Invalid.

Change-Id: Id807b341a2aadb06008491545aca614d5a09b8df
Signed-off-by: Tiago Mück <tiago.muck@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21922
Reviewed-by: Pouya Fotouhi <pfotouhi@ucdavis.edu>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/protocol/MOESI_CMP_directory-L2cache.sm