]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Implement the HFGITR_EL2.ERET trap
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 30 Jan 2023 18:24:56 +0000 (18:24 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 3 Feb 2023 12:59:24 +0000 (12:59 +0000)
commit5572f7557fdd1b5c36aee899b7e86fda66c2babf
tree5315983332f8b8626615059c90bdd233f6fe4a2e
parent950037e280e80d9204a4bced5b6f4575b9c0d94b
target/arm: Implement the HFGITR_EL2.ERET trap

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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Fuad Tabba <tabba@google.com>
Message-id: 20230130182459.3309057-21-peter.maydell@linaro.org
Message-id: 20230127175507.2895013-21-peter.maydell@linaro.org
target/arm/cpu.h
target/arm/helper.c
target/arm/syndrome.h
target/arm/translate-a64.c
target/arm/translate.h