All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] riscv: fix envcfg.STCE
@ 2025-06-23 16:53 Radim Krčmář
  2025-06-23 16:53 ` [PATCH 1/2] target/riscv: disable *stimecmp interrupts without *envcfg.STCE Radim Krčmář
  2025-06-23 16:53 ` [PATCH 2/2] target/riscv: disarm timer when writing past value Radim Krčmář
  0 siblings, 2 replies; 8+ messages in thread
From: Radim Krčmář @ 2025-06-23 16:53 UTC (permalink / raw)
  To: qemu-riscv
  Cc: qemu-devel, Alistair Francis, Weiwei Li, Daniel Henrique Barboza,
	Liu Zhiwei, Atish Patra

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(+)

-- 
2.49.0



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-06-25  7:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-23 16:53 [PATCH 0/2] riscv: fix envcfg.STCE Radim Krčmář
2025-06-23 16:53 ` [PATCH 1/2] target/riscv: disable *stimecmp interrupts without *envcfg.STCE Radim Krčmář
2025-06-23 21:39   ` Daniel Henrique Barboza
2025-06-24 12:48     ` Andrew Jones
2025-06-24 13:48     ` Radim Krčmář
2025-06-25  6:24       ` Jim Shu
2025-06-25  7:26         ` Radim Krčmář
2025-06-23 16:53 ` [PATCH 2/2] target/riscv: disarm timer when writing past value Radim Krčmář

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.