Thread (29 messages) 29 messages, 6 authors, 2026-03-26

Re: [PATCH v8 07/12] scsi: Use block layer helpers to constrain queue affinity

From: Hannes Reinecke <hare@suse.de>
Date: 2025-09-08 06:08:23
Also in: linux-block, linux-nvme, linux-scsi, lkml

On 9/5/25 16:59, Daniel Wagner wrote:
Ensure that IRQ affinity setup also respects the queue-to-CPU mapping
constraints provided by the block layer. This allows the SCSI drivers
to avoid assigning interrupts to CPUs that the block layer has excluded
(e.g., isolated CPUs).

Only convert drivers which are already using the
pci_alloc_irq_vectors_affinity with the PCI_IRQ_AFFINITY flag set.
Because these drivers are enabled to let the IRQ core code to
set the affinity. Also don't update qla2xxx because the nvme-fabrics
code is not ready yet.

Signed-off-by: Daniel Wagner <wagi@kernel.org>
---
  drivers/scsi/hisi_sas/hisi_sas_v3_hw.c    | 1 +
  drivers/scsi/megaraid/megaraid_sas_base.c | 5 ++++-
  drivers/scsi/mpi3mr/mpi3mr_fw.c           | 6 +++++-
  drivers/scsi/mpt3sas/mpt3sas_base.c       | 5 ++++-
  drivers/scsi/pm8001/pm8001_init.c         | 1 +
  5 files changed, 15 insertions(+), 3 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                  Kernel Storage Architect
hare@suse.de                                +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help