]> git.baikalelectronics.ru Git - kernel.git/commit
genirq/affinity: Add support for allocating interrupt sets
authorJens Axboe <axboe@kernel.dk>
Fri, 2 Nov 2018 14:59:51 +0000 (22:59 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 5 Nov 2018 11:16:27 +0000 (12:16 +0100)
commit05586d58ada7a1ac69e2514d0edf11a10ac8da6c
tree36ce19a44fb7ac5ff3308a6457e17835444041b3
parentbe584043c5ffaab7f9b4f9d10ecd926109f07779
genirq/affinity: Add support for allocating interrupt sets

A driver may have a need to allocate multiple sets of MSI/MSI-X interrupts,
and have them appropriately affinitized.

Add support for defining a number of sets in the irq_affinity structure, of
varying sizes, and get each set affinitized correctly across the machine.

[ tglx: Minor changelog tweaks ]

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Cc: linux-block@vger.kernel.org
Link: https://lkml.kernel.org/r/20181102145951.31979-5-ming.lei@redhat.com
drivers/pci/msi.c
include/linux/interrupt.h
kernel/irq/affinity.c