OSDN Git Service

target/arm: revector to run-time pick target EL
authorRémi Denis-Courmont <remi.denis.courmont@huawei.com>
Tue, 12 Jan 2021 10:45:08 +0000 (12:45 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 19 Jan 2021 14:38:52 +0000 (14:38 +0000)
commit6b340aeb48e4f7f983e1c38790de65ae93079840
treeaaef4dde1f7e96dddf63b65a4c8f64080b2dbd9b
parent9861248f637ecf11113b04b0b5c7b13c9aa06f09
target/arm: revector to run-time pick target EL

On ARMv8-A, accesses by 32-bit secure EL1 to monitor registers trap to
the upper (64-bit) EL. With Secure EL2 support, we can no longer assume
that that is always EL3, so make room for the value to be computed at
run-time.

Signed-off-by: Rémi Denis-Courmont <remi.denis.courmont@huawei.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210112104511.36576-16-remi.denis.courmont@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate.c