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)
commit6da4b3ab9a6e9b1b5f90322ab3fa3a7dd18edb19
tree36ce19a44fb7ac5ff3308a6457e17835444041b3
parent060746d9e394084b7401e7532f2de528ecbfb521
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