diff options
| author | Changbin Du | 2020-03-28 15:02:32 +0100 |
|---|---|---|
| committer | Peter Maydell | 2020-03-30 14:55:32 +0200 |
| commit | 88828bf133b64b7a860c166af3423ef1a47c5d3b (patch) | |
| tree | 1cc829aeb1cf7b6170aba2d281edba81bef89166 /include/exec/memory.h | |
| parent | hw/arm/xlnx-zynqmp.c: Add missing error-propagation code (diff) | |
| download | qemu-88828bf133b64b7a860c166af3423ef1a47c5d3b.tar.gz qemu-88828bf133b64b7a860c166af3423ef1a47c5d3b.tar.xz qemu-88828bf133b64b7a860c166af3423ef1a47c5d3b.zip | |
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: 4a2696c0d4 ("target/arm: Set PAN bit as required on exception entry")
Signed-off-by: Changbin Du <changbin.du@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200328140232.17278-1-changbin.du@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions
