On 3/15/22 12:23, Idan Horowitz wrote:
If the pages which control the translation of the currently executing
instructions are changed, and then the TLB is flushed using sfence.vma
we have to exit the current TB early, to ensure we don't execute stale
instructions.

Signed-off-by: Idan Horowitz<idan.horow...@gmail.com>
---
  target/riscv/insn_trans/trans_privileged.c.inc | 7 +++++++
  1 file changed, 7 insertions(+)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


r~

Reply via email to