target/microblaze: Fix no-op mb_cpu_transaction_failed
commit5318223d271865229c85e2cd2d32684b005c1d01
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 27 Aug 2020 22:01:30 +0000 (27 15:01 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 1 Sep 2020 14:41:38 +0000 (1 07:41 -0700)
treebde071ce6688cd4c36501f2c0f3a5ea334e94365
parent7b34f45f9fe0c9fed16cfef74d0b39f890b87d4f
target/microblaze: Fix no-op mb_cpu_transaction_failed

Do not call cpu_restore_state when no exception will be
delivered.  This can lead to inconsistent cpu state.

Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reported-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/microblaze/op_helper.c