On 1/4/23 13:58, Fabiano Rosas wrote:
From: Claudio Fontana<cfont...@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<cfont...@suse.de>
Signed-off-by: Fabiano Rosas<faro...@suse.de>
---
  target/arm/helper.c | 10 ++++++++--
  1 file changed, 8 insertions(+), 2 deletions(-)

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

r~

Reply via email to