irq: add support for allocating (and affinitizing) sets of IRQs
authorJens Axboe <axboe@kernel.dk>
Fri, 2 Nov 2018 14:59:51 +0000 (22:59 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Nov 2018 02:47:54 +0000 (19:47 -0700)
commit60e051319f569e2f6e8c60b7550633a81a3e7928
tree69fc396bd41fae522c6f848d906c12445b2b1a42
parent25dac84639a74b2aee614701acb86e74a3f3bb15
irq: add support for allocating (and affinitizing) sets of IRQs

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.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
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>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/pci/msi.c
include/linux/interrupt.h
kernel/irq/affinity.c