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@xxxxxxxxxxxxx>
Cc: Subbu Seetharaman<subbu.seetharaman@xxxxxxxxxxxx>
Cc: John Garry<john.garry@xxxxxxxxxx>
Cc: Don Brace<don.brace@xxxxxxxxxxxxx>
Cc: James Smart<james.smart@xxxxxxxxxxxx>
Cc: Kashyap Desai<kashyap.desai@xxxxxxxxxxxx>
Cc: Sathya Prakash<sathya.prakash@xxxxxxxxxxxx>
Cc: Nilesh Javali<njavali@xxxxxxxxxxx>
Signed-off-by: Ming Lei<ming.lei@xxxxxxxxxx>
---
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