All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] hw/riscv/riscv-iommu: Bug fixes and IPSR.PMIP support
@ 2026-03-04  4:09 Jay Chang
  2026-03-04  4:09 ` [PATCH 1/2] hw/riscv/riscv-iommu-hpm: Fix irq_overflow_left residual value bug Jay Chang
  2026-03-04  4:09 ` [PATCH 2/2] hw/riscv/riscv-iommu: Add IPSR.PMIP RW1C support Jay Chang
  0 siblings, 2 replies; 6+ messages in thread
From: Jay Chang @ 2026-03-04  4:09 UTC (permalink / raw)
  To: qemu-devel, qemu-riscv
  Cc: Palmer Dabbelt, Alistair Francis, Weiwei Li,
	Daniel Henrique Barboza, Liu Zhiwei, Chao Liu, Jay Chang

This series contains two fixes for the RISC-V IOMMU implementation:

1. Fix a bug in the HPM (Hardware Performance Monitor) timer setup where
   irq_overflow_left was not properly reset, causing stale values from
   previous timer setups to affect new timer behavior.

2. Add proper RW1C (Read/Write 1 to Clear) support for the IPSR.PMIP
   (Performance Monitor Interrupt Pending) bit, which was missing from
   the IPSR register implementation.

Jay Chang (2):
  hw/riscv/riscv-iommu-hpm: Fix irq_overflow_left residual value bug
  hw/riscv/riscv-iommu: Add IPSR.PMIP RW1C support

 hw/riscv/riscv-iommu-bits.h | 1 +
 hw/riscv/riscv-iommu-hpm.c  | 1 +
 hw/riscv/riscv-iommu.c      | 4 ++++
 3 files changed, 6 insertions(+)

-- 
2.48.1



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

end of thread, other threads:[~2026-03-04 13:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-04  4:09 [PATCH 0/2] hw/riscv/riscv-iommu: Bug fixes and IPSR.PMIP support Jay Chang
2026-03-04  4:09 ` [PATCH 1/2] hw/riscv/riscv-iommu-hpm: Fix irq_overflow_left residual value bug Jay Chang
2026-03-04 13:20   ` Chao Liu
2026-03-04  4:09 ` [PATCH 2/2] hw/riscv/riscv-iommu: Add IPSR.PMIP RW1C support Jay Chang
2026-03-04 10:13   ` Nutty.Liu
2026-03-04 13:29   ` Chao Liu

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.