Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/include/aarch64/
H A Dgic.h31 #define MIN_SPI 32 macro
36 #define INTID_IS_PPI(intid) (MIN_PPI <= (intid) && (intid) < MIN_SPI)
37 #define INTID_IS_SPI(intid) (MIN_SPI <= (intid) && (intid) <= MAX_SPI)
/linux/tools/testing/selftests/kvm/aarch64/
H A Dvgic_irq.c421 guest_inject(args, MIN_SPI, 1, f->cmd); in test_injection()
423 guest_inject(args, MIN_SPI, nr_irqs - MIN_SPI, f->cmd); in test_injection()
452 test_inject_preemption(args, MIN_SPI, 4, f->cmd); in test_preemption()
465 guest_restore_active(args, MIN_SPI, 4, f->cmd); in test_restore_active()
479 for (i = MIN_SPI; i < nr_irqs; i++) in guest_code()
564 kvm_gsi_routing_irqchip_add(routing, i - MIN_SPI, i - MIN_SPI); in kvm_set_gsi_routing_irqchip_check()
571 if (((uint64_t)intid + num - 1 - MIN_SPI) >= KVM_IRQCHIP_NUM_PINS) in kvm_set_gsi_routing_irqchip_check()
631 .gsi = i - MIN_SPI, in kvm_routing_and_irqfd_check()