Home
last modified time | relevance | path

Searched refs:hvip (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/arch/riscv/kvm/
Dvcpu.c349 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() local
367 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 …]
Dvcpu_onereg.c435 *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()
Daia.c133 aia_set_hvictl(!!(csr->hvip & BIT(IRQ_VS_EXT))); in kvm_riscv_vcpu_aia_update_hvip()
/linux-6.12.1/arch/riscv/include/asm/
Dkvm_host.h175 unsigned long hvip; member