Searched refs:ptimer_irq (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/testing/selftests/kvm/aarch64/ |
D | arch_timer.c | 83 static int vtimer_irq, ptimer_irq; variable 138 timer_irq = ptimer_irq; in guest_validate_irq() 202 gic_irq_enable(ptimer_irq); in guest_code() 352 KVM_ARM_VCPU_TIMER_IRQ_PTIMER, &ptimer_irq); in test_init_timer_irq() 356 sync_global_to_guest(vm, ptimer_irq); in test_init_timer_irq() 359 pr_debug("ptimer_irq: %d; vtimer_irq: %d\n", ptimer_irq, vtimer_irq); in test_init_timer_irq()
|
/linux-6.1.9/arch/arm64/kvm/ |
D | arch_timer.c | 1206 int vtimer_irq, ptimer_irq, ret; in timer_irqs_are_valid() local 1214 ptimer_irq = vcpu_ptimer(vcpu)->irq.irq; in timer_irqs_are_valid() 1215 ret = kvm_vgic_set_owner(vcpu, ptimer_irq, vcpu_ptimer(vcpu)); in timer_irqs_are_valid() 1221 vcpu_ptimer(vcpu)->irq.irq != ptimer_irq) in timer_irqs_are_valid() 1314 static void set_timer_irqs(struct kvm *kvm, int vtimer_irq, int ptimer_irq) in set_timer_irqs() argument 1321 vcpu_ptimer(vcpu)->irq.irq = ptimer_irq; in set_timer_irqs()
|