Searched refs:vtimer_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 131 timer_irq = vtimer_irq; in guest_validate_irq() 201 gic_irq_enable(vtimer_irq); in guest_code() 354 KVM_ARM_VCPU_TIMER_IRQ_VTIMER, &vtimer_irq); in test_init_timer_irq() 357 sync_global_to_guest(vm, vtimer_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 1209 vtimer_irq = vcpu_vtimer(vcpu)->irq.irq; in timer_irqs_are_valid() 1210 ret = kvm_vgic_set_owner(vcpu, vtimer_irq, vcpu_vtimer(vcpu)); in timer_irqs_are_valid() 1220 if (vcpu_vtimer(vcpu)->irq.irq != vtimer_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 1320 vcpu_vtimer(vcpu)->irq.irq = vtimer_irq; in set_timer_irqs()
|