All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jesper Dangaard Brouer <jbrouer@redhat.com>
To: Don.Brace@microchip.com, jbrouer@redhat.com, hch@infradead.org
Cc: don.brace@microsemi.com, linux-scsi@vger.kernel.org
Subject: Re: smartpqi cannot change IRQ smp_affinity
Date: Wed, 30 Jun 2021 23:33:29 +0200	[thread overview]
Message-ID: <9db66a3e-25ea-0046-d176-ffdcd47cdbbe@redhat.com> (raw)
In-Reply-To: <SN6PR11MB284870DAB389F96D45B51F05E1019@SN6PR11MB2848.namprd11.prod.outlook.com>


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


      reply	other threads:[~2021-06-30 21:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-30 20:17 smartpqi cannot change IRQ smp_affinity Jesper Dangaard Brouer
2021-06-30 20:56 ` Don.Brace
2021-06-30 21:33   ` Jesper Dangaard Brouer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9db66a3e-25ea-0046-d176-ffdcd47cdbbe@redhat.com \
    --to=jbrouer@redhat.com \
    --cc=Don.Brace@microchip.com \
    --cc=don.brace@microsemi.com \
    --cc=hch@infradead.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.