Skip to content

target/riscv: Annotate atomic operations

Richard Henderson qemu-devel qemu-riscv 1 version Applied

Status from this message: Applied to riscv-to-apply.next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2target/riscv: Use cpu_loop_exit_restore directly from mmu faultstarget/riscv/cpu_helper.c+3 -31 reply
2/2target/riscv: Mark amo insns during translationtarget/riscv/cpu.c target/riscv/cpu.h target/riscv/cpu_helper.c +2 more+79 -212 replies

Reviews trailers per patch

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

PatchAlistair Francis
1/2R-b
2/2R-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 [PATCH 0/2] target/riscv: Annotate atomic operations

If an atomic operation fails on RISC-V, we want to generate a store/amo fault and not a load fault.

Annotate amo insns, so that we can recognize them after unwinding. Transform the implementation access type to store/amo for reporting.

r~

Richard Henderson (2):
target/riscv: Use cpu_loop_exit_restore directly from mmu faults target/riscv: Mark amo insns during translation

 target/riscv/cpu.h                      | 15 ++++++
 target/riscv/cpu.c                      |  3 ++
 target/riscv/cpu_helper.c               | 62 +++++++++++++++++--------
 target/riscv/translate.c                |  9 ++++
 target/riscv/insn_trans/trans_rva.c.inc | 11 ++++-
 5 files changed, 79 insertions(+), 21 deletions(-)
Signature · 1 line
2.25.1