diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-03-19 18:06:06 -0600 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-03-23 14:07:55 +0000 |
commit | dad90de78e9e9d47cefcbcd30115706b98e6ec87 (patch) | |
tree | 596418cf86933adfc4e97d7216d0094305cd235b /hw/char | |
parent | 75ce72b785a7c9fcb9af2779854142a34825da59 (diff) | |
download | qemu-dad90de78e9e9d47cefcbcd30115706b98e6ec87.zip |
target/arm: Set ARMMMUFaultInfo.level in user-only arm_cpu_tlb_fill
Pretend the fault always happens at page table level 3.
Failure to set this leaves level = 0, which is impossible for
ARMFault_Permission, and produces an invalid syndrome, which
reaches g_assert_not_reached in cpu_loop.
Fixes: 8db94ab4e5db ("linux-user/aarch64: Pass syndrome to EXC_*_ABORT")
Reported-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20210320000606.1788699-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/char')
0 files changed, 0 insertions, 0 deletions