smartpqi cannot change IRQ smp_affinity
Hi Hellwig and Don,
On driver smartpqi I cannot change smp_affinity and smp_affinity_list entries.
It was suppose to be fixed by this patch: https://patchwork.kernel.org/project/linux-scsi/patch/154422179851.1218.10349207247849277036.stgit@brunhilda/
I can see that Hellwig added back PCI_IRQ_AFFINITY flag in commit 5219822687be ("scsi: smartpqi: switch to pci_alloc_irq_vectors").
Is there another way I can control which CPU that process IRQs from the disk controller?
--Jesper
(lspci output below)
b2:00.0 Serial Attached SCSI controller: Adaptec Smart Storage PQI SAS (rev 01)
Kernel driver in use: smartpqi
Kernel modules: smartpqi
-----Original Message-----
From: Jesper Dangaard Brouer [mailto:[email protected]]
Sent: Wednesday, June 30, 2021 3:17 PM
To: Christoph Hellwig <[email protected]>
Cc: Don Brace <[email protected]>; [email protected]
Subject: smartpqi cannot change IRQ smp_affinity
Hi Hellwig and Don,
On driver smartpqi I cannot change smp_affinity and smp_affinity_list entries.
It was suppose to be fixed by this patch:
https://patchwork.kernel.org/project/linux-scsi/patch/154422179851.1218.10349207247849277036.stgit@brunhilda/
I can see that Hellwig added back PCI_IRQ_AFFINITY flag in commit 5219822687be ("scsi: smartpqi: switch to pci_alloc_irq_vectors").
Is there another way I can control which CPU that process IRQs from the disk controller?
--Jesper
(lspci output below)
b2:00.0 Serial Attached SCSI controller: Adaptec Smart Storage PQI SAS (rev 01)
Kernel driver in use: smartpqi
Kernel modules: smartpqi
Don:
Can you tell us what OS you are running and the driver version? Output from uname -r and /sys/class/scsi_host/host4/driver_version My system is using host4, it may be different on your system.
Quoted 26 lines · On 30/06/2021 22.56, [email protected] wrote:
-----Original Message-----
From: Jesper Dangaard Brouer [mailto:[email protected]]
Sent: Wednesday, June 30, 2021 3:17 PM
To: Christoph Hellwig <[email protected]>
Cc: Don Brace <[email protected]>; [email protected]
Subject: smartpqi cannot change IRQsmp_affinityHi Hellwig and Don,
On driver smartpqi I cannot change
smp_affinityandsmp_affinity_listentries.It was suppose to be fixed by this patch:
https://patchwork.kernel.org/project/linux-scsi/patch/154422179851.1218.10349207247849277036.stgit@brunhilda/I can see that Hellwig added back
PCI_IRQ_AFFINITYflag in commit5219822687be("scsi: smartpqi: switch topci_alloc_irq_vectors").Is there another way I can control which CPU that process IRQs from the disk controller?
--Jesper
(lspci output below)
b2:00.0 Serial Attached SCSI controller: Adaptec Smart Storage PQI SAS (rev 01)
Quoted 8 lines
Kernel driver in use: smartpqi
Kernel modules: smartpqiDon:
Can you tell us what OS you are running and the driver version? Output from uname -r and/sys/class/scsi_host/host4/driver_versionMy system is using host4, it may be different on your system.
Kernel version is v5.11.8 (self compiled from stable tree)
# grep -H . /sys/class/scsi_host/host0/driver_version /sys/class/scsi_host/host0/driver_version:1.2.16-012
--Jesper
Other info:
# grep -H . /sys/class/scsi_host/host0/* 2> /dev/null /sys/class/scsi_host/host0/active_mode:Initiator /sys/class/scsi_host/host0/can_queue:1013 /sys/class/scsi_host/host0/cmd_per_lun:1013 /sys/class/scsi_host/host0/driver_version:1.2.16-012 /sys/class/scsi_host/host0/eh_deadline:off /sys/class/scsi_host/host0/firmware_version:3.00-0 /sys/class/scsi_host/host0/host_busy:0 /sys/class/scsi_host/host0/lockup_action:[none] reboot panic /sys/class/scsi_host/host0/model:E208i-a SR Gen10 /sys/class/scsi_host/host0/nr_hw_queues:12 /sys/class/scsi_host/host0/proc_name:smartpqi /sys/class/scsi_host/host0/prot_capabilities:0 /sys/class/scsi_host/host0/prot_guard_type:0 /sys/class/scsi_host/host0/serial_number:PWDRD0FRHED160 /sys/class/scsi_host/host0/sg_prot_tablesize:0 /sys/class/scsi_host/host0/sg_tablesize:257 /sys/class/scsi_host/host0/state:running /sys/class/scsi_host/host0/supported_mode:Initiator /sys/class/scsi_host/host0/unchecked_isa_dma:0 /sys/class/scsi_host/host0/unique_id:156 /sys/class/scsi_host/host0/use_blk_mq:1 /sys/class/scsi_host/host0/vendor:HPE