cpu-o3: Avoid passing ReExec 'faults' on CPU tracing interface
authorMichiel W. van Tol <Michiel.VanTol@arm.com>
Thu, 4 Jun 2020 15:01:26 +0000 (16:01 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 7 Jul 2020 12:20:44 +0000 (12:20 +0000)
commit70c4b1c608b1f551a03744767fdc4fff849dffa9
treef78a0c3ec23eeeb9a0b02b5beb83228a44569379
parentf8dceef50518a086bc505df2a7ebc9468edfeda3
cpu-o3: Avoid passing ReExec 'faults' on CPU tracing interface

The O3 model uses ReExec faults to flush the pipeline and restart
after a memory ordering violation, e.g. due to an incoming snoop.

These, just like branch mispredict flushes, are not architectural
faults but micro-architectural events, and should therefore not
show up on the instruction tracing interface.

This adds a check on faulting instructions in commit, to verify
if the instruction faulted due to ReExec, to avoid tracing it.

Change-Id: I1d3eaffb0ff22411e0e16a69ef07961924c88c10
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30554
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
src/cpu/o3/commit_impl.hh