diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-13 19:59:20 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-13 19:59:20 +0100 |
commit | 3522c419758ee8dca5a0e8753ee0070a22157bc1 (patch) | |
tree | 92ee4fcefeb5e39dd3c4410c3fe618c890e565e8 /arch/riscv | |
parent | KVM: x86: Cache CPUID.0xD XSTATE offsets+sizes during module init (diff) | |
parent | RISC-V: KVM: Fix csr_write -> csr_set for HVIEN PMU overflow bit (diff) | |
download | linux-3522c419758ee8dca5a0e8753ee0070a22157bc1.tar.xz linux-3522c419758ee8dca5a0e8753ee0070a22157bc1.zip |
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
Diffstat (limited to 'arch/riscv')
-rw-r--r-- | arch/riscv/kvm/aia.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/kvm/aia.c b/arch/riscv/kvm/aia.c index dcced4db7fe8..19afd1f23537 100644 --- a/arch/riscv/kvm/aia.c +++ b/arch/riscv/kvm/aia.c @@ -590,7 +590,7 @@ void kvm_riscv_aia_enable(void) csr_set(CSR_HIE, BIT(IRQ_S_GEXT)); /* Enable IRQ filtering for overflow interrupt only if sscofpmf is present */ if (__riscv_isa_extension_available(NULL, RISCV_ISA_EXT_SSCOFPMF)) - csr_write(CSR_HVIEN, BIT(IRQ_PMU_OVF)); + csr_set(CSR_HVIEN, BIT(IRQ_PMU_OVF)); } void kvm_riscv_aia_disable(void) |