• Marc Zyngier's avatar
    Merge branch kvm-arm64/selftest/irq-injection into kvmarm-master/next · ad7937dc
    Marc Zyngier authored
    * kvm-arm64/selftest/irq-injection:
      : .
      : New tests from Ricardo Koller:
      : "This series adds a new test, aarch64/vgic-irq, that validates the injection of
      : different types of IRQs from userspace using various methods and configurations"
      : .
      KVM: selftests: aarch64: Add test for restoring active IRQs
      KVM: selftests: aarch64: Add ISPENDR write tests in vgic_irq
      KVM: selftests: aarch64: Add tests for IRQFD in vgic_irq
      KVM: selftests: Add IRQ GSI routing library functions
      KVM: selftests: aarch64: Add test_inject_fail to vgic_irq
      KVM: selftests: aarch64: Add tests for LEVEL_INFO in vgic_irq
      KVM: selftests: aarch64: Level-sensitive interrupts tests in vgic_irq
      KVM: selftests: aarch64: Add preemption tests in vgic_irq
      KVM: selftests: aarch64: Cmdline arg to set EOI mode in vgic_irq
      KVM: selftests: aarch64: Cmdline arg to set number of IRQs in vgic_irq test
      KVM: selftests: aarch64: Abstract the injection functions in vgic_irq
      KVM: selftests: aarch64: Add vgic_irq to test userspace IRQ injection
      KVM: selftests: aarch64: Add vGIC library functions to deal with vIRQ state
      KVM: selftests: Add kvm_irq_line library function
      KVM: selftests: aarch64: Add GICv3 register accessor library functions
      KVM: selftests: aarch64: Add function for accessing GICv3 dist and redist registers
      KVM: selftests: aarch64: Move gic_v3.h to shared headers
    Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
    ad7937dc
kvm_util.c 63.7 KB