Home
last modified time | relevance | path

Searched refs:IRQ_PMU_OVF (Results 1 – 6 of 6) sorted by relevance

/linux/arch/riscv/include/asm/
H A Dcsr.h86 #define IRQ_PMU_OVF 13 macro
87 #define IRQ_LOCAL_MAX (IRQ_PMU_OVF + 1)
176 (_AC(1, UL) << IRQ_PMU_OVF))
491 # define RV_IRQ_PMU IRQ_PMU_OVF
492 # define SIP_LCOFIP (_AC(0x1, UL) << IRQ_PMU_OVF)
/linux/tools/arch/riscv/include/asm/
H A Dcsr.h85 #define IRQ_PMU_OVF 13 macro
86 #define IRQ_LOCAL_MAX (IRQ_PMU_OVF + 1)
461 # define RV_IRQ_PMU IRQ_PMU_OVF
462 # define SIP_LCOFIP (_AC(0x1, UL) << IRQ_PMU_OVF)
/linux/arch/riscv/kvm/
H A Dvcpu.c388 if ((csr->hvip ^ hvip) & (1UL << IRQ_PMU_OVF)) { in kvm_riscv_vcpu_sync_interrupts()
389 if (!(hvip & (1UL << IRQ_PMU_OVF)) && in kvm_riscv_vcpu_sync_interrupts()
390 !test_and_set_bit(IRQ_PMU_OVF, v->irqs_pending_mask)) in kvm_riscv_vcpu_sync_interrupts()
391 clear_bit(IRQ_PMU_OVF, v->irqs_pending); in kvm_riscv_vcpu_sync_interrupts()
412 irq != IRQ_PMU_OVF) in kvm_riscv_vcpu_set_interrupt()
435 irq != IRQ_PMU_OVF) in kvm_riscv_vcpu_unset_interrupt()
H A Daia.c593 csr_set(CSR_HVIEN, BIT(IRQ_PMU_OVF)); in kvm_riscv_aia_enable()
608 csr_clear(CSR_HVIEN, BIT(IRQ_PMU_OVF)); in kvm_riscv_aia_disable()
H A Dvcpu_pmu.c304 kvm_riscv_vcpu_set_interrupt(vcpu, IRQ_PMU_OVF); in kvm_riscv_pmu_overflow()
/linux/tools/testing/selftests/kvm/riscv/
H A Dsbi_pmu_test.c143 GUEST_ASSERT_EQ(irq_num, IRQ_PMU_OVF); in guest_irq_handler()
148 csr_clear(CSR_SIP, BIT(IRQ_PMU_OVF)); in guest_irq_handler()
488 csr_set(CSR_IE, BIT(IRQ_PMU_OVF)); in test_pmu_events_overflow()