]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Diagnose incorrect usage of arm_is_secure subroutines
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 27 Feb 2023 22:58:31 +0000 (12:58 -1000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 6 Mar 2023 14:08:12 +0000 (14:08 +0000)
commitfcc7404eff24b4c8b322fb27ca5ae7f3113129c3
tree84c7e535868bae2ed11defb6704786f11d2b4f32
parenta0262ba68c7b07e0eb004464b333395151f053da
target/arm: Diagnose incorrect usage of arm_is_secure subroutines

In several places we use arm_is_secure_below_el3 and
arm_is_el3_or_mon separately from arm_is_secure.
These functions make no sense for m-profile, and
would indicate prior incorrect feature testing.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230227225832.816605-4-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h