Home
last modified time | relevance | path

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

/linux/arch/riscv/kvm/
A Dvcpu.c295 reg_val = (csr->hvip >> VSIP_TO_HVIP_SHIFT) & VSIP_VALID_MASK; in kvm_riscv_vcpu_get_reg_csr()
476 csr->hvip &= ~mask; in kvm_riscv_vcpu_flush_interrupts()
477 csr->hvip |= val; in kvm_riscv_vcpu_flush_interrupts()
483 unsigned long hvip; in kvm_riscv_vcpu_sync_interrupts() local
491 hvip = csr_read(CSR_HVIP); in kvm_riscv_vcpu_sync_interrupts()
492 if ((csr->hvip ^ hvip) & (1UL << IRQ_VS_SOFT)) { in kvm_riscv_vcpu_sync_interrupts()
493 if (hvip & (1UL << IRQ_VS_SOFT)) { in kvm_riscv_vcpu_sync_interrupts()
604 csr_write(CSR_HVIP, csr->hvip); in kvm_arch_vcpu_load()
637 csr->hvip = csr_read(CSR_HVIP); in kvm_arch_vcpu_put()
675 csr_write(CSR_HVIP, csr->hvip); in kvm_riscv_update_hvip()
/linux/arch/riscv/include/asm/
A Dkvm_host.h142 unsigned long hvip; member

Completed in 10 milliseconds