qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 06/35] target/arm: Enable trapping of ERET for FEAT_NV


From: Richard Henderson
Subject: Re: [PATCH 06/35] target/arm: Enable trapping of ERET for FEAT_NV
Date: Thu, 28 Dec 2023 09:06:26 +1100
User-agent: Mozilla Thunderbird

On 12/18/23 22:32, Peter Maydell wrote:
When FEAT_NV is turned on via the HCR_EL2.NV bit, ERET instructions
are trapped, with the same syndrome information as for the existing
FEAT_FGT fine-grained trap (in the pseudocode this is handled in
AArch64.CheckForEretTrap()).

Rename the DisasContext and tbflag bits to reflect that they are
no longer exclusively for FGT traps, and set the tbflag bit when
FEAT_NV is enabled as well as when the FGT is enabled.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  target/arm/cpu.h               |  2 +-
  target/arm/tcg/translate.h     |  4 ++--
  target/arm/tcg/hflags.c        | 11 ++++++++++-
  target/arm/tcg/translate-a64.c |  6 +++---
  4 files changed, 16 insertions(+), 7 deletions(-)

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

r~



reply via email to

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