mem-ruby: fix possible MOESI_CMP deadlock
authorTiago Mück <tiago.muck@arm.com>
Fri, 21 Jun 2019 00:06:20 +0000 (19:06 -0500)
committerTiago Mück <tiago.muck@arm.com>
Wed, 6 May 2020 14:42:33 +0000 (14:42 +0000)
commitd9cb548d83fa81858599807f54b52e5be35a6b03
tree257c0713dec304b66cb18354e74d2c5458f82523
parenta0130e741bd40cd22b428a71871a2f382841f0cb
mem-ruby: fix possible MOESI_CMP deadlock

Freeing the L2 block only after local invalidates are acked in the OLSF
state may lead to a deadlock.

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