Skip to content

RISC-V: Correctly generate store/amo faults

Alistair Francis qemu-devel qemu-riscv 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2accel: tcg: Allow forcing a store fault on read opsaccel/tcg/cputlb.c include/exec/memop.h+11 -20 replies
2/2targett/riscv: rva: Correctly generate a store/amo faulttarget/riscv/insn_trans/trans_rva.c.inc+37 -192 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchLIU Zhiwei
1/2
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] RISC-V: Correctly generate store/amo faults

From: Alistair Francis <[email protected]>

This series adds a MO_ op to specify that a load instruction should produce a store fault. This is used on RISC-V to produce a store/amo fault when an atomic access fails.

This fixes: https://gitlab.com/qemu-project/qemu/-/issues/594

Alistair Francis (2):
accel: tcg: Allow forcing a store fault on read ops targett/riscv: rva: Correctly generate a store/amo fault

 include/exec/memop.h                    |  2 +
 accel/tcg/cputlb.c                      | 11 ++++-
 target/riscv/insn_trans/trans_rva.c.inc | 56 ++++++++++++++++---------
 3 files changed, 48 insertions(+), 21 deletions(-)
Signature · 1 line
2.31.1