qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 20/23] target/arm: Implement the HFGITR_EL2.ERET trap


From: Richard Henderson
Subject: Re: [PATCH 20/23] target/arm: Implement the HFGITR_EL2.ERET trap
Date: Sat, 28 Jan 2023 13:53:24 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 1/27/23 07:55, Peter Maydell wrote:
Implement the HFGITR_EL2.ERET fine-grained trap.  This traps
execution from AArch64 EL1 of ERET, ERETAA and ERETAB.  The trap is
reported with a syndrome value of 0x1a.

The trap must take precedence over a possible pointer-authentication
trap for ERETAA and ERETAB.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  target/arm/cpu.h           |  1 +
  target/arm/syndrome.h      | 10 ++++++++++
  target/arm/translate.h     |  2 ++
  target/arm/helper.c        |  3 +++
  target/arm/translate-a64.c | 10 ++++++++++
  5 files changed, 26 insertions(+)

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

r~



reply via email to

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