Skip to content

target/sh4: system emulation improvement

Aurelien Jarno qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5target/sh4: log unauthorized accesses using qemu_log_masktarget/sh4/helper.c+1 -12 replies
2/5target/sh4: fix reset when using a kernel and an initrdtarget/sh4/helper.c+9 -11 reply
3/5target/sh4: introduce DELAY_SLOT_MASKtarget/sh4/cpu.h target/sh4/helper.c target/sh4/translate.c+12 -122 replies
4/5target/sh4: ignore interrupts in a delay slottarget/sh4/helper.c+10 -22 replies
5/5target/sh4: fix RTE instruction delay slottarget/sh4/cpu.h target/sh4/translate.c+16 -51 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéRichard Henderson
1/5R-b R-b
2/5R-b
3/5R-b R-b
4/5R-b R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/5] target/sh4: system emulation improvement

This patch series fix two issues with the SH4 system emulation:
- reboot does not work when using -kernel and -initrd
- the RTE instruction is not correctly emulated in some very rare cases, causing userland processes to receive a segmentation fault.

Aurelien Jarno (5):
target/sh4: log unauthorized accesses using qemu_log_mask target/sh4: fix reset when using a kernel and an initrd target/sh4: introduce DELAY_SLOT_MASK target/sh4: ignore interrupts in a delay slot target/sh4: fix RTE instruction delay slot

 target/sh4/cpu.h       | 12 ++++++++++--
 target/sh4/helper.c    | 28 ++++++++++++++++++++++------
 target/sh4/translate.c | 25 ++++++++++++++-----------
 3 files changed, 46 insertions(+), 19 deletions(-)
Signature · 1 line
2.11.0