hw/arm/boot: Fix PAUTH for EL3 direct kernel boot
commit24ac0d309ab379cd0347f198c2db5b2b48b02887
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 27 Jul 2020 15:12:10 +0000 (27 16:12 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Jul 2020 15:12:10 +0000 (27 16:12 +0100)
tree2adec9ce5060f64c044a6be6a07aac31b6153b39
parent222f45b75970452b864f80cc4c0d3eb8f4862f64
hw/arm/boot: Fix PAUTH for EL3 direct kernel boot

When booting an EL3 cpu with -kernel, we set up EL3 and then
drop down to EL2.  We need to enable access to v8.3-PAuth
keys and instructions at EL3 before doing so.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200724163853.504655-2-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/boot.c