Searched refs:hvip (Results 1 – 8 of 8) sorted by relevance
329 csr->hvip &= ~mask; in kvm_riscv_vcpu_flush_interrupts()330 csr->hvip |= val; in kvm_riscv_vcpu_flush_interrupts()339 unsigned long hvip; in kvm_riscv_vcpu_sync_interrupts() local347 hvip = csr_read(CSR_HVIP); in kvm_riscv_vcpu_sync_interrupts()348 if ((csr->hvip ^ hvip) & (1UL << IRQ_VS_SOFT)) { in kvm_riscv_vcpu_sync_interrupts()349 if (hvip & (1UL << IRQ_VS_SOFT)) { in kvm_riscv_vcpu_sync_interrupts()507 csr_write(CSR_HVIP, csr->hvip); in kvm_arch_vcpu_load()552 csr->hvip = csr_read(CSR_HVIP); in kvm_arch_vcpu_put()605 csr_write(CSR_HVIP, csr->hvip); in kvm_riscv_update_hvip()
351 *out_val = (csr->hvip >> VSIP_TO_HVIP_SHIFT) & VSIP_VALID_MASK; in kvm_riscv_vcpu_general_get_csr()352 *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()
162 unsigned long hvip; member
490 uint64_t irqs_f_vs = env->hvip & env->hvien & ~env->hideleg & env->vsie; in riscv_cpu_vsirq_pending()543 irqs_f_vs = env->hvip & env->hvien & ~env->hideleg & env->vsie; in riscv_cpu_local_irq_pending()723 irqf = env->hvien & env->hvip & env->vsie; in riscv_cpu_interrupt()1807 bool vs_injected = env->hvip & (1ULL << cause) & env->hvien && in riscv_cpu_do_interrupt()
96 VMSTATE_UINT64(env.hvip, RISCVCPU),
336 uint64_t hvip; member
3750 old_hvip = env->hvip; in rmw_hvip64()3753 env->hvip = (env->hvip & ~wr_mask_hvip) | (new_val & wr_mask_hvip); in rmw_hvip64()