[PATCH v2] target/arm: fix exception syndrome for AArch32 bkpt insn

2024-01-27 Thread Jan Klötzke
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). Signed-off-by: Jan Klötzke

Re: [PATCH] target/arm: fix exception syndrome for AArch32 bkpt insn

2024-01-27 Thread Jan Klötzke
On Tue, 2024-01-23 at 17:58 +, Peter Maydell wrote: > On Fri, 19 Jan 2024 at 22:40, Jan Klötzke > wrote: > > > --- > > target/arm/helper.c | 20 > > 1 file changed, 20 insertions(+) > > > > diff --git a/target/arm/helper.c b/t

[PATCH] target/arm: fix exception syndrome for AArch32 bkpt insn

2024-01-19 Thread Jan Klötzke
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). Signed-off-by: Jan Klötzke