Searched refs:IRQ_PMU_OVF (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/arch/riscv/include/asm/ |
D | csr.h | 86 #define IRQ_PMU_OVF 13 macro 87 #define IRQ_LOCAL_MAX (IRQ_PMU_OVF + 1) 172 (_AC(1, UL) << IRQ_PMU_OVF)) 474 # define RV_IRQ_PMU IRQ_PMU_OVF 475 # define SIP_LCOFIP (_AC(0x1, UL) << IRQ_PMU_OVF)
|
/linux-6.12.1/tools/arch/riscv/include/asm/ |
D | csr.h | 85 #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-6.12.1/arch/riscv/kvm/ |
D | vcpu.c | 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() 383 !test_and_set_bit(IRQ_PMU_OVF, v->irqs_pending_mask)) in kvm_riscv_vcpu_sync_interrupts() 384 clear_bit(IRQ_PMU_OVF, v->irqs_pending); in kvm_riscv_vcpu_sync_interrupts() 405 irq != IRQ_PMU_OVF) in kvm_riscv_vcpu_set_interrupt() 428 irq != IRQ_PMU_OVF) in kvm_riscv_vcpu_unset_interrupt()
|
D | aia.c | 555 csr_write(CSR_HVIEN, BIT(IRQ_PMU_OVF)); in kvm_riscv_aia_enable() 570 csr_clear(CSR_HVIEN, BIT(IRQ_PMU_OVF)); in kvm_riscv_aia_disable()
|
D | vcpu_pmu.c | 304 kvm_riscv_vcpu_set_interrupt(vcpu, IRQ_PMU_OVF); in kvm_riscv_pmu_overflow()
|
/linux-6.12.1/tools/testing/selftests/kvm/riscv/ |
D | sbi_pmu_test.c | 143 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()
|