[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 v2] target/arm: fix exception syndrome for AArch32 bkpt insn

2024-01-27 Thread Richard Henderson
On 1/28/24 06:27, Jan Klötzke wrote: 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 (watchpo

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

2024-01-27 Thread Michael Tokarev
On 27.01.2024 23:27, Jan Klötzke wrote: 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 (watc

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

2024-01-30 Thread Peter Maydell
On Sat, 27 Jan 2024 at 20:30, Jan Klötzke wrote: > > 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