]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: fix exception syndrome for AArch32 bkpt insn
authorJan Klötzke <jan.kloetzke@kernkonzept.com>
Thu, 1 Feb 2024 10:57:19 +0000 (10:57 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 3 Feb 2024 13:42:56 +0000 (16:42 +0300)
commitd9b2dc2ffad4b763074883b70731a2272ee8e141
treec0a8f9af80142c47af810303c211a579427e6dd8
parentc49842381ac7d8436b578013d87bb3afb16a7421
target/arm: fix exception syndrome for AArch32 bkpt insn

Debug exceptions that target AArch32 Hyp mode are reported differently
than on AAarch64. Internally, Qemu uses the AArch64 syndromes. Therefore
such exceptions need to be either converted to a prefetch abort
(breakpoints, vector catch) or a data abort (watchpoints).

Cc: qemu-stable@nongnu.org
Signed-off-by: Jan Klötzke <jan.kloetzke@kernkonzept.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20240127202758.3326381-1-jan.kloetzke@kernkonzept.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit f670be1aad33e801779af580398895b9455747ee)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/arm/helper.c
target/arm/syndrome.h