Searched refs:hvip (Results 1 – 4 of 4) sorted by relevance
349 csr->hvip &= ~mask; in kvm_riscv_vcpu_flush_interrupts()350 csr->hvip |= val; in kvm_riscv_vcpu_flush_interrupts()359 unsigned long hvip; in kvm_riscv_vcpu_sync_interrupts() local367 hvip = csr_read(CSR_HVIP); in kvm_riscv_vcpu_sync_interrupts()368 if ((csr->hvip ^ hvip) & (1UL << IRQ_VS_SOFT)) { in kvm_riscv_vcpu_sync_interrupts()369 if (hvip & (1UL << IRQ_VS_SOFT)) { in kvm_riscv_vcpu_sync_interrupts()381 if ((csr->hvip ^ hvip) & (1UL << IRQ_PMU_OVF)) { in kvm_riscv_vcpu_sync_interrupts()382 if (!(hvip & (1UL << IRQ_PMU_OVF)) && in kvm_riscv_vcpu_sync_interrupts()575 csr_write(CSR_HVIP, csr->hvip); in kvm_arch_vcpu_load()628 csr->hvip = csr_read(CSR_HVIP); in kvm_arch_vcpu_put()[all …]
435 *out_val = (csr->hvip >> VSIP_TO_HVIP_SHIFT) & VSIP_VALID_MASK; in kvm_riscv_vcpu_general_get_csr()436 *out_val |= csr->hvip & ~IRQ_LOCAL_MASK; in kvm_riscv_vcpu_general_get_csr()
133 aia_set_hvictl(!!(csr->hvip & BIT(IRQ_VS_EXT))); in kvm_riscv_vcpu_aia_update_hvip()
175 unsigned long hvip; member