cpu-o3: Fix handling of some mem. order violations
authorGiacomo Gabrielli <giacomo.gabrielli@arm.com>
Wed, 2 Oct 2019 14:43:47 +0000 (15:43 +0100)
committerGiacomo Gabrielli <giacomo.gabrielli@arm.com>
Wed, 30 Oct 2019 09:05:34 +0000 (09:05 +0000)
commiteef524d9ecf692875c899f112c4ddfdec03d7088
tree90cc5019a469b7311ec7d11575e478a7755b7ef1
parent94dfd6ac8289253386e6e20abc99761a0cbbe187
cpu-o3: Fix handling of some mem. order violations

This patch fixes the handling of memory order violations due to snoops
targeting out-of-order loads: the re-execution triggered in these cases
is achieved by raising a ReExec fault, but such a fault was not handled
correctly after the code changes introduced in changeset 46da8fb.

Change-Id: I2abe161a90468412f56cb28dcc92729326cba1cd
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21819
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Timothy Hayes <timothy.hayes@arm.com>
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/cpu/o3/lsq.hh
src/cpu/o3/lsq_unit_impl.hh