[PATCH v8 03/16] irq: move IRQ routing into irq.c
From: Marc Zyngier <hidden>
Date: 2016-12-09 14:41:36
Also in:
kvm, kvmarm
From: Marc Zyngier <hidden>
Date: 2016-12-09 14:41:36
Also in:
kvm, kvmarm
On 04/11/16 17:31, Andre Przywara wrote:
The current IRQ routing code in x86/irq.c is mostly implementing a generic KVM interface which other architectures may use too. Move the code to set up an MSI route into the generic irq.c file and guard it with the KVM_CAP_IRQ_ROUTING capability to return an error if the kernel does not support interrupt routing. This also removes the dummy implementations for all other architectures and only leaves the x86 specific code in x86/irq.c. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Marc Zyngier <redacted> M. -- Jazz is not dead. It just smells funny...