[PATCH v12 04/13] genirq/affinity: Add cpumask to struct irq_affinity
Aaron Tomlin
atomlin at atomlin.com
Tue May 5 13:40:29 PDT 2026
On Wed, Apr 22, 2026 at 02:52:06PM -0400, Aaron Tomlin wrote:
> From: Daniel Wagner <wagi at kernel.org>
>
> Pass a cpumask to irq_create_affinity_masks as an additional constraint
> to consider when creating the affinity masks. This allows the caller to
> exclude specific CPUs, e.g., isolated CPUs (see the 'isolcpus' kernel
> command-line parameter).
>
> Signed-off-by: Daniel Wagner <wagi at kernel.org>
> Reviewed-by: Hannes Reinecke <hare at suse.de>
> Signed-off-by: Aaron Tomlin <atomlin at atomlin.com>
> ---
> include/linux/interrupt.h | 16 ++++++++++------
> kernel/irq/affinity.c | 12 ++++++++++--
> 2 files changed, 20 insertions(+), 8 deletions(-)
Hi Daniel, Hannes,
Following on from here [1], this patch will be dropped too in the next
iteration. Moving forward, drivers no longer need to pass a custom mask.
[1]: https://lore.kernel.org/lkml/bnklzljfve53m33xdxv4mlu75kqrkpc3xooxgd3pnbvwjst5hr@btomkooj4crh/
--
Aaron Tomlin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-nvme/attachments/20260505/e12aaa77/attachment-0001.sig>
More information about the Linux-nvme
mailing list