linux/virt/kvm/arm
Eric Auger 174178fed3 KVM: arm/arm64: add irqfd support
This patch enables irqfd on arm/arm64.

Both irqfd and resamplefd are supported. Injection is implemented
in vgic.c without routing.

This patch enables CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQFD.

KVM_CAP_IRQFD is now advertised. KVM_CAP_IRQFD_RESAMPLE capability
automatically is advertised as soon as CONFIG_HAVE_KVM_IRQFD is set.

Irqfd injection is restricted to SPI. The rationale behind not
supporting PPI irqfd injection is that any device using a PPI would
be a private-to-the-CPU device (timer for instance), so its state
would have to be context-switched along with the VCPU and would
require in-kernel wiring anyhow. It is not a relevant use case for
irqfds.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2015-03-12 15:15:34 +01:00
..
arch_timer.c timecounter: keep track of accumulated fractional nanoseconds 2014-12-30 18:29:27 -05:00
vgic-v2-emul.c arm/arm64: KVM: split GICv2 specific emulation code from vgic.c 2015-01-20 18:25:30 +01:00
vgic-v2.c arm/arm64: KVM: enable kernel side of GICv3 emulation 2015-01-20 18:25:32 +01:00
vgic-v3-emul.c arm/arm64: KVM: allow userland to request a virtual GICv3 2015-01-20 18:25:33 +01:00
vgic-v3.c arm/arm64: KVM: enable kernel side of GICv3 emulation 2015-01-20 18:25:32 +01:00
vgic.c KVM: arm/arm64: add irqfd support 2015-03-12 15:15:34 +01:00
vgic.h arm/arm64: KVM: add virtual GICv3 distributor emulation 2015-01-20 18:25:31 +01:00