On 3/2/24 12:35, del...@kernel.org wrote:
From: Helge Deller<del...@gmx.de>

When calculating the IOR for the exception handlers, the current
unwind_breg value is needed on 64-bit hppa machines.
Restore that value by calling cpu_restore_state() earlier, which in turn
calls hppa_restore_state_to_opc() which restores the unwind_breg for the
current instruction.

Signed-off-by: Helge Deller<del...@gmx.de>
Fixes: 3824e0d643f3 ("target/hppa: Export function hppa_set_ior_and_isr()")
---
  target/hppa/cpu.c        | 3 ++-
  target/hppa/mem_helper.c | 3 ++-
  target/hppa/op_helper.c  | 3 ++-
  3 files changed, 6 insertions(+), 3 deletions(-)

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

r~

Reply via email to