We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40384c8 commit ea6398aCopy full SHA for ea6398a
arch/riscv/kvm/aia.c
@@ -590,7 +590,7 @@ void kvm_riscv_aia_enable(void)
590
csr_set(CSR_HIE, BIT(IRQ_S_GEXT));
591
/* Enable IRQ filtering for overflow interrupt only if sscofpmf is present */
592
if (__riscv_isa_extension_available(NULL, RISCV_ISA_EXT_SSCOFPMF))
593
- csr_write(CSR_HVIEN, BIT(IRQ_PMU_OVF));
+ csr_set(CSR_HVIEN, BIT(IRQ_PMU_OVF));
594
}
595
596
void kvm_riscv_aia_disable(void)
0 commit comments