qemu-system-aarch64: regression in 3.1: breakpoint instructions always routed to EL_D even when current EL is higher
Bug #1838277 reported by
Elouan Appéré
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Affects 3.1.0 (latest stable release) and latest commit (893dc8300c80e3
With the following code and shell commands:
test.s:
.text
mov x0, #0x60000000
msr vbar_el2, x0
dsb sy
isb sy
$ aarch64-none-elf-as test.s -o test.o
$ aarch64-
$ qemu-system-aarch64 -nographic -machine virt,virtualiza
vbar_el2 is still 0 after the code, instead of being the expected 0x60000000. (see screenshot).
This regression doesn't seem to happen for vbar_el1 & virtualization=off.
Err, my bad. The following code does seem to work fine (somehow?), but the bug in my code is currently being caused by a JIT failure in mov sp, x8 (aligned value), causing a crash (with the same version considerations).