Home
last modified time | relevance | path

Searched refs:IRQ_VS_SOFT (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/arch/riscv/kvm/
H A Dvcpu.c348 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()
350 if (!test_and_set_bit(IRQ_VS_SOFT, in kvm_riscv_vcpu_sync_interrupts()
352 set_bit(IRQ_VS_SOFT, v->irqs_pending); in kvm_riscv_vcpu_sync_interrupts()
354 if (!test_and_set_bit(IRQ_VS_SOFT, in kvm_riscv_vcpu_sync_interrupts()
356 clear_bit(IRQ_VS_SOFT, v->irqs_pending); in kvm_riscv_vcpu_sync_interrupts()
375 irq != IRQ_VS_SOFT && in kvm_riscv_vcpu_set_interrupt()
397 irq != IRQ_VS_SOFT && in kvm_riscv_vcpu_unset_interrupt()
H A Dvcpu_sbi_v01.c46 ret = kvm_riscv_vcpu_unset_interrupt(vcpu, IRQ_VS_SOFT); in kvm_sbi_ext_v01_handler()
58 ret = kvm_riscv_vcpu_set_interrupt(rvcpu, IRQ_VS_SOFT); in kvm_sbi_ext_v01_handler()
H A Dmain.c37 hideleg |= (1UL << IRQ_VS_SOFT); in kvm_arch_hardware_enable()
H A Dvcpu_sbi_replace.c68 ret = kvm_riscv_vcpu_set_interrupt(tmp, IRQ_VS_SOFT); in kvm_sbi_ext_ipi_handler()
/openbmc/linux/arch/riscv/include/asm/
H A Dcsr.h77 #define IRQ_VS_SOFT 2 macro
168 #define VSIP_TO_HVIP_SHIFT (IRQ_VS_SOFT - IRQ_S_SOFT)
/openbmc/qemu/target/riscv/
H A Dcpu_bits.h709 #define IRQ_VS_SOFT 2 macro
728 #define MIP_VSSIP (1 << IRQ_VS_SOFT)
H A Dcpu_helper.c1926 if (async && (cause == IRQ_VS_TIMER || cause == IRQ_VS_SOFT || in riscv_cpu_do_interrupt()
H A Dcpu.c1260 case IRQ_VS_SOFT: in riscv_cpu_set_irq()