Hi,

this is just a summary of my findings regarding recent QEMUs starting
with QEMU 9.0 up to 9.0.2.

Since QEMU commit 59754f85ed35cbd5f4bf2663ca2136c78d5b2413, HelenOS
uspace tasks on the arm32/raspberrypi target all crash because of
alignment check exceptions. This turned out to be a QEMU bug:

 https://gitlab.com/qemu-project/qemu/-/issues/2326

Basically QEMU was using the wrong version of the SCTLR register (i.e.
non-secure vs secure) for checking userspace accesses. The bug was there
even before the above mentioned change, but the change made it easy to
reproduce.

The bug is fixed in QEMU master already and will be part of the next
stable release. I was originally planning to upgrade our QEMU scripts to
QEMU 9.0.2, but will delay this until 9.1.0 is out in one or two weeks.

Jakub

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to