qemu-patch-raspberry4/target/microblaze
Richard Henderson 2a7567a2f3 target/microblaze: Diagnose invalid insns in delay slots
These cases result in undefined and undocumented behaviour but the
behaviour is deterministic, i.e cores will not lock-up or expose
security issues.  However, RTL will not raise exceptions either.

Therefore, log a GUEST_ERROR and treat these cases as nops, to
avoid corner cases which could put qemu into an invalid state.

Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2020-09-07 12:58:08 -07:00
..
cpu-param.h target/microblaze: Reduce linux-user address space to 32-bit 2020-09-01 07:43:35 -07:00
cpu-qom.h cpu: Use DeviceClass reset instead of a special CPUClass reset 2020-03-17 19:48:10 -04:00
cpu.c target/microblaze: Collected fixes for env->iflags 2020-09-07 12:34:17 +02:00
cpu.h target/microblaze: Rename mmu structs 2020-09-07 12:58:08 -07:00
gdbstub.c target/microblaze: Split out MSR[C] to its own variable 2020-09-01 07:41:38 -07:00
helper.c target/microblaze: Rename mmu structs 2020-09-07 12:58:08 -07:00
helper.h target/microblaze: Add flags markup to some helpers 2020-09-01 07:43:35 -07:00
insns.decode target/microblaze: Convert dec_stream to decodetree 2020-09-01 07:43:35 -07:00
meson.build target/microblaze: Add decodetree infrastructure 2020-09-01 07:41:38 -07:00
mmu.c target/microblaze: Rename mmu structs 2020-09-07 12:58:08 -07:00
mmu.h target/microblaze: Rename mmu structs 2020-09-07 12:58:08 -07:00
op_helper.c target/microblaze: Use cc->do_unaligned_access 2020-09-01 07:43:35 -07:00
translate.c target/microblaze: Diagnose invalid insns in delay slots 2020-09-07 12:58:08 -07:00