Home
last modified time | relevance | path

Searched refs:vtimer_irq (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/kvm/aarch64/
A Darch_timer.c83 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.3-rc2/arch/arm64/kvm/
A Darch_timer.c1220 int vtimer_irq, ptimer_irq, ret; in timer_irqs_are_valid() local
1223 vtimer_irq = vcpu_vtimer(vcpu)->irq.irq; in timer_irqs_are_valid()
1224 ret = kvm_vgic_set_owner(vcpu, vtimer_irq, vcpu_vtimer(vcpu)); in timer_irqs_are_valid()
1234 if (vcpu_vtimer(vcpu)->irq.irq != vtimer_irq || in timer_irqs_are_valid()
1328 static void set_timer_irqs(struct kvm *kvm, int vtimer_irq, int ptimer_irq) in set_timer_irqs() argument
1334 vcpu_vtimer(vcpu)->irq.irq = vtimer_irq; in set_timer_irqs()

Completed in 6 milliseconds