Skip to content

riscv: fix envcfg.STCE

Radim Krčmář qemu-devel qemu-riscv 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2target/riscv: disable *stimecmp interrupts without *envcfg.STCEtarget/riscv/csr.c target/riscv/time_helper.c+22 -05 replies
2/2target/riscv: disarm timer when writing past valuetarget/riscv/time_helper.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] riscv: fix envcfg.STCE

Hello,

I reviewed a very unintuitive implementation of Sstc in Sail, and QEMU seems to have a minor bug there, which is addressed [1/2]. [2/2] is just a sanitization.

I only compiled the code, and have no idea how to easily test it, so feel free to drop the patches, and treat this as a bug report.

Thanks.

Radim Krčmář (2):
target/riscv: disable *stimecmp interrupts without *envcfg.STCE target/riscv: disarm timer when writing past value

 target/riscv/csr.c         | 12 ++++++++++++
 target/riscv/time_helper.c | 12 ++++++++++++
 2 files changed, 24 insertions(+)
Signature · 1 line
2.49.0