qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/5] target/hppa: Restore unwind_breg before calculating ior


From: Richard Henderson
Subject: Re: [PATCH 2/5] target/hppa: Restore unwind_breg before calculating ior
Date: Sat, 2 Mar 2024 16:27:57 -1000
User-agent: Mozilla Thunderbird

On 3/2/24 12:35, deller@kernel.org wrote:
From: Helge Deller<deller@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<deller@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.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]