summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng Wu <feng.wu@intel.com>2015-05-19 09:07:15 (GMT)
committerThomas Gleixner <tglx@linutronix.de>2015-05-19 13:51:17 (GMT)
commita2f1c8bdc02bfcaa5a658283b883fdb54e328b36 (patch)
tree9ce1f1af62197ea822ea950c85d78b5987a3b0db
parenta9a3f5c26ae578d210a33e05e15bb599ce53df4e (diff)
downloadlinux-a2f1c8bdc02bfcaa5a658283b883fdb54e328b36.tar.xz
x86/irq/msi: Implement irq_set_vcpu_affinity for remapped MSI irqs
Implement irq_set_vcpu_affinity for pci_msi_ir_controller. Signed-off-by: Feng Wu <feng.wu@intel.com> Reviewed-by: Jiang Liu <jiang.liu@linux.intel.com> Link: http://lkml.kernel.org/r/1432026437-16560-3-git-send-email-feng.wu@intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--arch/x86/kernel/apic/msi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic/msi.c b/arch/x86/kernel/apic/msi.c
index ef516af..1a9d735 100644
--- a/arch/x86/kernel/apic/msi.c
+++ b/arch/x86/kernel/apic/msi.c
@@ -152,6 +152,7 @@ static struct irq_chip pci_msi_ir_controller = {
.irq_mask = pci_msi_mask_irq,
.irq_ack = irq_chip_ack_parent,
.irq_retrigger = irq_chip_retrigger_hierarchy,
+ .irq_set_vcpu_affinity = irq_chip_set_vcpu_affinity_parent,
.flags = IRQCHIP_SKIP_SET_WAKE,
};