From: Richard Henderson <richard.henderson@linaro.org>
To: deller@kernel.org, qemu-devel@nongnu.org
Cc: deller@gmx.de
Subject: Re: [PATCH 2/5] target/hppa: Restore unwind_breg before calculating ior
Date: Sat, 2 Mar 2024 16:27:57 -1000 [thread overview]
Message-ID: <5b08c6e0-7242-4b87-908e-e13c8e680b96@linaro.org> (raw)
In-Reply-To: <20240302223524.24421-3-deller@kernel.org>
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~
next prev parent reply other threads:[~2024-03-03 2:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-02 22:35 [PATCH 0/5] HPPA64 updates deller
2024-03-02 22:35 ` [PATCH 1/5] target/hppa: Fix unaligned double word accesses for hppa64 deller
2024-03-03 2:10 ` Richard Henderson
2024-03-03 5:33 ` Helge Deller
2024-03-02 22:35 ` [PATCH 2/5] target/hppa: Restore unwind_breg before calculating ior deller
2024-03-03 2:27 ` Richard Henderson [this message]
2024-03-02 22:35 ` [PATCH 3/5] pc-bios/meson: Add hppa-firmware64.img blob deller
2024-03-03 2:29 ` Richard Henderson
2024-03-02 22:35 ` [PATCH 4/5] pc-bios/README: Add information about hppa-firmware deller
2024-03-03 2:29 ` Richard Henderson
2024-03-02 22:35 ` [PATCH 5/5] roms/hppa: Add build rules for hppa-firmware deller
2024-03-03 2:30 ` Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5b08c6e0-7242-4b87-908e-e13c8e680b96@linaro.org \
--to=richard.henderson@linaro.org \
--cc=deller@gmx.de \
--cc=deller@kernel.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.