diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2025-07-25 18:55:10 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2025-07-25 13:11:48 -1000 |
commit | e35215db401113867e20634622a370c0e8931797 (patch) | |
tree | 3d5e736b1952c699de993abde6dd297228c70c94 /hw/avr/arduino.c | |
parent | 99870aff907b1c863cd32558b543f0ab0d0e74ba (diff) | |
download | qemu-e35215db401113867e20634622a370c0e8931797.zip qemu-e35215db401113867e20634622a370c0e8931797.tar.gz qemu-e35215db401113867e20634622a370c0e8931797.tar.bz2 |
linux-user/aarch64: Support ZT_MAGIC signal frame record
FEAT_SME2 adds the ZT0 register, whose contents may need to be
preserved and restored on signal handler entry and exit. This is
done with a new ZT_MAGIC record. We forgot to implement support for
this in our linux-user code before enabling the SME2p1 emulation,
which meant that a signal handler using SME would corrupt the ZT0
register value, and code that attempted to unwind an exception from
inside a signal handler would not work.
Add the missing record handling.
Fixes: 7b1613a1020d2942 ("target/arm: Enable FEAT_SME2p1 on -cpu max")
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250725175510.3864231-4-peter.maydell@linaro.org>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions