]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Implement the HFGITR_EL2.SVC_EL0 and SVC_EL1 traps
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 30 Jan 2023 18:24:57 +0000 (18:24 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 3 Feb 2023 12:59:24 +0000 (12:59 +0000)
commit34a8a07e57bba6df2c1c67cc9bd3e80706ce4a54
treebc565fb916896d2d55f38e0785b71cb42b91d334
parent5572f7557fdd1b5c36aee899b7e86fda66c2babf
target/arm: Implement the HFGITR_EL2.SVC_EL0 and SVC_EL1 traps

Implement the HFGITR_EL2.SVC_EL0 and SVC_EL1 fine-grained traps.
These trap execution of the SVC instruction from AArch32 and AArch64.
(As usual, AArch32 can only trap from EL0, as fine grained traps are
disabled with an AArch32 EL1.)

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-22-peter.maydell@linaro.org
Message-id: 20230127175507.2895013-22-peter.maydell@linaro.org
target/arm/cpu.h
target/arm/helper.c
target/arm/translate-a64.c
target/arm/translate.c
target/arm/translate.h