[PATCH V2 4/6] scsi: set shost->use_managed_irq if driver uses managed irq
John Garry
john.garry at huawei.com
Mon Jul 5 00:35:59 PDT 2021
On 02/07/2021 16:05, Ming Lei wrote:
> Set shost->use_managed_irq if irq vectors are allocated via
> pci_alloc_irq_vectors_affinity(PCI_IRQ_AFFINITY) or
> pci_alloc_irq_vectors(PCI_IRQ_AFFINITY).
>
> The rule is that driver has to tell scsi core if managed irq is used.
>
> Cc: Adaptec OEM Raid Solutions<aacraid at microsemi.com>
> Cc: Subbu Seetharaman<subbu.seetharaman at broadcom.com>
> Cc: John Garry<john.garry at huawei.com>
> Cc: Don Brace<don.brace at microchip.com>
> Cc: James Smart<james.smart at broadcom.com>
> Cc: Kashyap Desai<kashyap.desai at broadcom.com>
> Cc: Sathya Prakash<sathya.prakash at broadcom.com>
> Cc: Nilesh Javali<njavali at marvell.com>
> Signed-off-by: Ming Lei<ming.lei at redhat.com>
> ---
> drivers/scsi/aacraid/linit.c | 3 +++
> drivers/scsi/be2iscsi/be_main.c | 3 +++
> drivers/scsi/csiostor/csio_init.c | 3 +++
> drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 1 +
> drivers/scsi/hpsa.c | 3 +++
> drivers/scsi/lpfc/lpfc.h | 1 +
> drivers/scsi/lpfc/lpfc_init.c | 4 ++++
> drivers/scsi/megaraid/megaraid_sas_base.c | 3 +++
> drivers/scsi/mpt3sas/mpt3sas_scsih.c | 3 +++
> drivers/scsi/qla2xxx/qla_isr.c | 5 ++++-
> drivers/scsi/smartpqi/smartpqi_init.c | 3 +++
> 11 files changed, 31 insertions(+), 1 deletion(-)
Hi Ming,
hisi sas v2 hw is missed - it supports managed interrupt as a platform
device. Setting that flag in hisi_sas_v2_interrupt_preinit() might be best.
Thanks,
John
More information about the Linux-nvme
mailing list