Searched refs:ptimer_irq (Results 1 – 2 of 2) sorted by relevance
/linux-6.3-rc2/tools/testing/selftests/kvm/aarch64/ |
A 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.3-rc2/arch/arm64/kvm/ |
A D | arch_timer.c | 1220 int vtimer_irq, ptimer_irq, ret; in timer_irqs_are_valid() local 1228 ptimer_irq = vcpu_ptimer(vcpu)->irq.irq; in timer_irqs_are_valid() 1229 ret = kvm_vgic_set_owner(vcpu, ptimer_irq, vcpu_ptimer(vcpu)); in timer_irqs_are_valid() 1235 vcpu_ptimer(vcpu)->irq.irq != ptimer_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 1335 vcpu_ptimer(vcpu)->irq.irq = ptimer_irq; in set_timer_irqs()
|
Completed in 7 milliseconds