Skip to content
Snippets Groups Projects
Commit 88828bf1 authored by Changbin Du's avatar Changbin Du Committed by Peter Maydell
Browse files

target/arm: fix incorrect current EL bug in aarch32 exception emulation


The arm_current_el() should be invoked after mode switching. Otherwise, we
get a wrong current EL value, since current EL is also determined by
current mode.

Fixes: 4a2696c0 ("target/arm: Set PAN bit as required on exception entry")
Signed-off-by: default avatarChangbin Du <changbin.du@gmail.com>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-id: 20200328140232.17278-1-changbin.du@gmail.com
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent 660b4e70
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment