target/arm: Fix pauth_check_trap vs SEL2
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 15 Mar 2022 02:12:05 +0000 (19:12 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 18 Mar 2022 10:55:15 +0000 (10:55 +0000)
commitc179d3be7bd03edb717c4b953faa285513b6301f
tree63b2169c9c56648e7da5e08fbe93ab37ed85292c
parentb17ab4705c78484d1bdd86cd9c1f7d42338cc1f1
target/arm: Fix pauth_check_trap vs SEL2

When arm_is_el2_enabled was introduced, we missed
updating pauth_check_trap.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/788
Fixes: e6ef0169264b ("target/arm: use arm_is_el2_enabled() where applicable")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20220315021205.342768-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/pauth_helper.c