summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2016-07-04 10:39:26 +0200
committerThomas Gleixner <tglx@linutronix.de>2016-07-04 12:25:14 +0200
commit0972fa57f53525ffa6ced12d703750fc2791e3ce (patch)
tree3199a71c175f53ecb59271da64dcc769df8e6b9b /kernel
parentgenirq: Use affinity hint in irqdesc allocation (diff)
downloadlinux-0972fa57f53525ffa6ced12d703750fc2791e3ce.tar.xz
linux-0972fa57f53525ffa6ced12d703750fc2791e3ce.zip
genirq/msi: Make use of affinity aware allocations
Allow the MSI code to provide affinity hints per MSI descriptor. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Christoph Hellwig <hch@lst.de> Cc: linux-block@vger.kernel.org Cc: linux-pci@vger.kernel.org Cc: linux-nvme@lists.infradead.org Cc: axboe@fb.com Cc: agordeev@redhat.com Link: http://lkml.kernel.org/r/1467621574-8277-6-git-send-email-hch@lst.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/irq/msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/msi.c b/kernel/irq/msi.c
index 58dbbacc6fbb..0e2a736b14a7 100644
--- a/kernel/irq/msi.c
+++ b/kernel/irq/msi.c
@@ -335,7 +335,7 @@ int msi_domain_alloc_irqs(struct irq_domain *domain, struct device *dev,
virq = __irq_domain_alloc_irqs(domain, -1, desc->nvec_used,
dev_to_node(dev), &arg, false,
- NULL);
+ desc->affinity);
if (virq < 0) {
ret = -ENOSPC;
if (ops->handle_error)