commit | 1936149658127ee60870c0c494f430ca549a174c | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Thu Jan 14 16:46:24 2016 +0000 |
committer | Peter Maydell <peter.maydell@linaro.org> | Thu Jan 14 16:46:24 2016 +0000 |
tree | 17f529c24ecfe0876ee6e1e41b37e04430f04b55 | |
parent | a1c0d275d0075201fb6d2d07f117c4e38c3b4842 [diff] |
AArch64 EL3: don't assume SCR_EL3's only nonzero bit is NS Make sure we initialize SCR_EL3 on startup and preserve bits in it across world switches. This is important for AArch64 because SCR_EL3 contains the register-width bit for EL1, and if the implementation is correctly honouring that bit then attempting to do an exception-return with it incorrectly set will result in an illegal exception return. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>