mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/1] scsi: mpi3mr: Introduce smp_affinity_enable module parameter
@ 2025-06-01  1:40 Aaron Tomlin
  2025-06-01  1:40 ` [RFC PATCH v2 1/1] " Aaron Tomlin
  0 siblings, 1 reply; 4+ messages in thread
From: Aaron Tomlin @ 2025-06-01  1:40 UTC (permalink / raw)
  To: mpi3mr-linuxdrv.pdl
  Cc: kashyap.desai, sumit.saxena, sreekanth.reddy, James.Bottomley,
	martin.petersen, atomlin, linux-scsi, linux-kernel

I noticed that the Linux MegaRAID driver for SAS based RAID controllers has
the same aforementioned module parameter. Despite the potential performance
drawbacks, I suspect it would be useful with the Broadcom MPI3 Storage
Controller Driver too, to respect the default IRQ affinity.
Please let me know your thoughts.

Changes since v1 [1]
 - Addressed WARN_ON() in pci_alloc_irq_vectors_affinity()
   due to affd != NULL when smp_affinity_enable = 0
 - Avoid unnecessary complexity for a single queue

[1]: https://lore.kernel.org/lkml/20250428094141.1385188-2-atomlin@atomlin.com/

Aaron Tomlin (1):
  scsi: mpi3mr: Introduce smp_affinity_enable module parameter

 drivers/scsi/mpi3mr/mpi3mr.h    |  1 +
 drivers/scsi/mpi3mr/mpi3mr_fw.c | 14 ++++++++++++--
 drivers/scsi/mpi3mr/mpi3mr_os.c | 14 +++++++++++---
 3 files changed, 24 insertions(+), 5 deletions(-)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-06-17  7:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-01  1:40 [RFC PATCH v2 0/1] scsi: mpi3mr: Introduce smp_affinity_enable module parameter Aaron Tomlin
2025-06-01  1:40 ` [RFC PATCH v2 1/1] " Aaron Tomlin
2025-06-16 20:51   ` Martin K. Petersen
2025-06-17  7:18   ` John Garry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®