mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Feng Wu <feng.wu@intel.com>
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
Date: Fri, 15 May 2015 15:19:21 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.11.1505151518540.4225@nanos> (raw)
In-Reply-To: <1430377608-10490-3-git-send-email-feng.wu@intel.com>

On Thu, 30 Apr 2015, Feng Wu wrote:
> 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>
> ---
>  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

  reply	other threads:[~2015-05-15 13:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-30  7:06 [v4 0/3] prerequisite changes for VT-d posted-interrupts Feng Wu
2015-04-30  7:06 ` [v4 1/3] genirq: Introduce irq_set_vcpu_affinity() to target an interrupt to a VCPU Feng Wu
2015-05-13  8:09   ` Jiang Liu
2015-05-13 21:03     ` Thomas Gleixner
2015-05-14  1:04       ` Wu, Feng
2015-05-15 13:18   ` Thomas Gleixner
2015-05-18  2:42     ` Wu, Feng
2015-04-30  7:06 ` [v4 2/3] x86, irq: Implement irq_set_vcpu_affinity for pci_msi_ir_controller Feng Wu
2015-05-15 13:19   ` Thomas Gleixner [this message]
2015-04-30  7:06 ` [v4 3/3] x86, irq: Define a global vector for VT-d Posted-Interrupts Feng Wu
2015-05-15 13:27   ` Thomas Gleixner
2015-05-18  2:44     ` Wu, Feng
2015-05-07  2:05 ` [v4 0/3] prerequisite changes for VT-d posted-interrupts Wu, Feng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.11.1505151518540.4225@nanos \
    --to=tglx@linutronix.de \
    --cc=feng.wu@intel.com \
    --cc=hpa@zytor.com \
    --cc=jiang.liu@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®