]> 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>
Fri, 9 Feb 2024 07:44:49 +0000 (10:44 +0300)
commit35a60a20f0008a39af39bf39e12a1b07889b4e56
tree2b46ca9f2cf0a3a57b4db245c497d0db40be974c
parentb91715588a101024c644a322ad2f43af50a8d2fd
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