Re: smartpqi cannot change IRQ smp_affinity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 30/06/2021 22.56, Don.Brace@xxxxxxxxxxxxx wrote:
-----Original Message-----
From: Jesper Dangaard Brouer [mailto:jbrouer@xxxxxxxxxx]
Sent: Wednesday, June 30, 2021 3:17 PM
To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Cc: Don Brace <don.brace@xxxxxxxxxxxxx>; linux-scsi@xxxxxxxxxxxxxxx
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.

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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux