]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/helper.c
target/arm: Make TLBIOS and TLBIRANGE ops trap on HCR_EL2.TTLB
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 3 Nov 2022 13:10:41 +0000 (13:10 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 4 Nov 2022 10:58:58 +0000 (10:58 +0000)
commit4870f38b0babe48babdce90ac8bba11d29abaf0d
treefd6b071df5317a0406d5ff09dca611f90e89b70f
parentd7ef5e16a17c7dd068420c79fa9e893f15b4abaf
target/arm: Make TLBIOS and TLBIRANGE ops trap on HCR_EL2.TTLB

The HCR_EL2.TTLB bit is supposed to trap all EL1 execution of TLB
maintenance instructions.  However we have added new TLB insns for
FEAT_TLBIOS and FEAT_TLBIRANGE, and forgot to set their accessfn to
access_ttlb.  Add the missing accessfns.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/helper.c