Skip to content

Bug fixes and IPSR.PMIP support

Jay Chang qemu-devel 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

Add commit message

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2hw/riscv/riscv-iommu-hpm: Fix irq_overflow_left residual value bughw/riscv/riscv-iommu-hpm.c+1 -00 replies
2/2hw/riscv/riscv-iommu: Add IPSR.PMIP RW1C supporthw/riscv/riscv-iommu-bits.h hw/riscv/riscv-iommu.c+5 -00 replies

Reviews trailers per patch

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

PatchFrank ChangChao LiuNutty Liu
1/2R-b R-b
2/2R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] Bug fixes and IPSR.PMIP support

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.

---
Change in V2
Add commit message

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(+)
Signature · 1 line
2.48.1