On 25/4/25 17:23, Richard Henderson wrote:
Do not examine a random host return address, but
properly compute the next pc for the guest cpu.

Fixes: f18637cd611 ("RISC-V: Add misa runtime write support")
Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
  target/riscv/csr.c | 22 +++++++++++++++++-----
  1 file changed, 17 insertions(+), 5 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>

Reply via email to