Skip to content

Commit 3522c41

Browse files
committed
Merge tag 'kvm-riscv-fixes-6.13-1' of https://github.com/kvm-riscv/linux into HEAD
KVM/riscv fixes for 6.13, take #1 - Replace csr_write() with csr_set() for HVIEN PMU overflow bit
2 parents 1201f22 + ea6398a commit 3522c41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/kvm/aia.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ void kvm_riscv_aia_enable(void)
590590
csr_set(CSR_HIE, BIT(IRQ_S_GEXT));
591591
/* Enable IRQ filtering for overflow interrupt only if sscofpmf is present */
592592
if (__riscv_isa_extension_available(NULL, RISCV_ISA_EXT_SSCOFPMF))
593-
csr_write(CSR_HVIEN, BIT(IRQ_PMU_OVF));
593+
csr_set(CSR_HVIEN, BIT(IRQ_PMU_OVF));
594594
}
595595

596596
void kvm_riscv_aia_disable(void)

0 commit comments

Comments
 (0)