qemu-arm
[Top][All Lists]
Advanced

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

Re: [RFC PATCH 21/27] target/arm: make further preparation for the excep


From: Richard Henderson
Subject: Re: [RFC PATCH 21/27] target/arm: make further preparation for the exception code to move
Date: Wed, 4 Jan 2023 21:02:43 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 1/4/23 13:58, Fabiano Rosas wrote:
From: Claudio Fontana<cfontana@suse.de>

the exception code needs some adjustment before being exposed to
KVM-only builds. We need to call arm_rebuild_hflags only when TCG is
enabled, or we will error out.

The direct call to helper_rebuild_hflags_a64(env, new_el) will not
be possible when extracting out to common code,
it seems safe to replace it with a call to arm_rebuild_hflags, since
the write to pstate is already done.

Signed-off-by: Claudio Fontana<cfontana@suse.de>
Signed-off-by: Fabiano Rosas<farosas@suse.de>
---
  target/arm/helper.c | 10 ++++++++--
  1 file changed, 8 insertions(+), 2 deletions(-)

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

r~



reply via email to

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