Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161130AbbEONTO (ORCPT ); Fri, 15 May 2015 09:19:14 -0400 Received: from www.linutronix.de ([62.245.132.108]:41512 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934213AbbEONTM (ORCPT ); Fri, 15 May 2015 09:19:12 -0400 Date: Fri, 15 May 2015 15:19:21 +0200 (CEST) From: Thomas Gleixner To: Feng Wu cc: mingo@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org, jiang.liu@linux.intel.com Subject: Re: [v4 2/3] x86, irq: Implement irq_set_vcpu_affinity for pci_msi_ir_controller In-Reply-To: <1430377608-10490-3-git-send-email-feng.wu@intel.com> Message-ID: References: <1430377608-10490-1-git-send-email-feng.wu@intel.com> <1430377608-10490-3-git-send-email-feng.wu@intel.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001,URIBL_BLOCKED=0.001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1573 Lines: 44 On Thu, 30 Apr 2015, Feng Wu wrote: > Implement irq_set_vcpu_affinity for pci_msi_ir_controller. > > Signed-off-by: Feng Wu > Reviewed-by: Jiang Liu > --- > arch/x86/kernel/apic/msi.c | 1 + > include/linux/irq.h | 2 ++ > 2 files changed, 3 insertions(+) > > diff --git a/arch/x86/kernel/apic/msi.c b/arch/x86/kernel/apic/msi.c > index 58fde66..d2d95e2 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, > }; > > diff --git a/include/linux/irq.h b/include/linux/irq.h > index 684c35d..cb688fb 100644 > --- a/include/linux/irq.h > +++ b/include/linux/irq.h > @@ -471,6 +471,8 @@ extern int irq_chip_set_affinity_parent(struct irq_data *data, > const struct cpumask *dest, > bool force); > extern int irq_chip_set_wake_parent(struct irq_data *data, unsigned int on); > +extern int irq_chip_set_vcpu_affinity_parent(struct irq_data *data, > + void *vcpu_info); Ah, here it is. Just in the wrong patch .... Thanks, tglx -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/