summaryrefslogtreecommitdiffstats
path: root/virt/kvm/arm/vgic/vgic-v2.c
diff options
context:
space:
mode:
authorChristoffer Dall2017-05-04 13:32:53 +0200
committerChristoffer Dall2017-06-08 17:00:12 +0200
commitabcb851daa617706e90ee7d39d4d9a74ac05f4b1 (patch)
treea126efb3a85113f4c215568a5072598b24affdce /virt/kvm/arm/vgic/vgic-v2.c
parentKVM: arm/arm64: Introduce an allocator for in-kernel irq lines (diff)
downloadkernel-qcow2-linux-abcb851daa617706e90ee7d39d4d9a74ac05f4b1.tar.gz
kernel-qcow2-linux-abcb851daa617706e90ee7d39d4d9a74ac05f4b1.tar.xz
kernel-qcow2-linux-abcb851daa617706e90ee7d39d4d9a74ac05f4b1.zip
KVM: arm/arm64: Check if irq lines to the GIC are already used
We check if other in-kernel devices have already been connected to the GIC for a particular interrupt line when possible. For the PMU, we can do this whenever setting the PMU interrupt number from userspace. For the timers, we have to wait until we try to enable the timer, because we have a concept of default IRQ numbers that userspace shouldn't have to work around in the initialization phase. Signed-off-by: Christoffer Dall <cdall@linaro.org> Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic-v2.c')
0 files changed, 0 insertions, 0 deletions