aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/xlnx-zynqmp.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-01-09 14:30:36 +0000
committerPeter Maydell <peter.maydell@linaro.org>2017-01-09 15:27:25 +0000
commitc518f892452e880f36983cb89f0b4e10c6229a7c (patch)
tree4cbe7f0852d7f48651e52a95e870d1cc740e1e07 /hw/arm/xlnx-zynqmp.c
parent2ed59eccfbc5ae6606d4780ef32a95199f4f14bb (diff)
target/arm/psci.c: If EL2 implemented, start CPUs in EL2
The PSCI spec states that a CPU_ON call should cause the new CPU to be started in the highest implemented Non-secure exception level. We were incorrectly starting it at the exception level of the caller, which happens to be correct if EL2 is not implemented. Implement the correct logic as described in the PSCI 1.0 spec section 6.4: * if EL2 exists and SCR_EL3.HCE is set: start in EL2 * otherwise start in EL1 Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/xlnx-zynqmp.c')
0 files changed, 0 insertions, 0 deletions