diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-02-18 14:16:15 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-02-18 14:16:15 +0000 |
commit | f096e92b6385fd87e8ea948ad3af70faf752c13a (patch) | |
tree | b93b25e35747834cf45857c265a55fffa74e6919 /target-arm/cpu.h | |
parent | 755026728abb19fba70e6b4396a27fa2e7550d74 (diff) |
target-arm: Fix handling of SCR.SMD
We weren't quite implementing the handling of SCR.SMD correctly.
The condition governing whether the SMD bit should apply only
for NS state is "is EL3 is AArch32", not "is the current EL AArch32".
Fix the condition, and clarify the comment both to reflect this and
to expand slightly on what's going on for the v7-no-Virtualization case.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Sergey Fedorov <serge.fdrv@gmail.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'target-arm/cpu.h')
0 files changed, 0 insertions, 0 deletions