linux/drivers/scsi/lpfc
James Smart 7ac836ebcb scsi: lpfc: Fix setting IRQ affinity with an empty CPU mask
Some systems are reporting the following log message during driver unload
or system shutdown:

  ics_rtas_set_affinity: No online cpus in the mask

A prior commit introduced the writing of an empty affinity mask in calls to
irq_set_affinity_hint() when disabling interrupts or when there are no
remaining online CPUs to service an eq interrupt. At least some ppc64
systems are checking whether affinity masks are empty or not.

Do not call irq_set_affinity_hint() with an empty CPU mask.

Fixes: dcaa213679 ("scsi: lpfc: Change default IRQ model on AMD architectures")
Link: https://lore.kernel.org/r/20200828175332.130300-2-james.smart@broadcom.com
Cc: <stable@vger.kernel.org> # v5.5+
Co-developed-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-08-31 21:51:26 -04:00
..
lpfc_attr.c scsi: lpfc: Fix no message shown for lpfc_hdw_queue out of range value 2020-08-04 20:56:57 -04:00
lpfc_attr.h
lpfc_bsg.c scsi: lpfc: Fix validation of bsg reply lengths 2020-08-04 20:56:57 -04:00
lpfc_bsg.h scsi: lpfc: Allow applications to issue Common Set Features mailbox command 2020-07-02 23:06:40 -04:00
lpfc_compat.h
lpfc_crtn.h scsi: lpfc: Add an internal trace log buffer 2020-07-02 23:06:49 -04:00
lpfc_ct.c scsi: lpfc: Fix RSCN timeout due to incorrect gidft counter 2020-08-04 20:56:57 -04:00
lpfc_debugfs.c SCSI misc on 20200605 2020-06-05 15:11:50 -07:00
lpfc_debugfs.h
lpfc_disc.h
lpfc_els.c scsi: lpfc: Fix retry of PRLI when status indicates its unsupported 2020-08-04 20:56:57 -04:00
lpfc_hbadisc.c scsi: lpfc: Fix kerneldoc parameter formatting/misnaming/missing issues 2020-07-24 22:31:54 -04:00
lpfc_hw4.h scsi: lpfc: Add support to display if adapter dumps are available 2020-07-02 23:06:41 -04:00
lpfc_hw.h
lpfc_ids.h
lpfc_init.c scsi: lpfc: Fix setting IRQ affinity with an empty CPU mask 2020-08-31 21:51:26 -04:00
lpfc_logmsg.h scsi: lpfc: Add an internal trace log buffer 2020-07-02 23:06:49 -04:00
lpfc_mbox.c scsi: lpfc: Fix a bunch of kerneldoc misdemeanors 2020-07-24 22:32:03 -04:00
lpfc_mem.c scsi: lpfc: Provide description for lpfc_mem_alloc()'s 'align' param 2020-07-24 22:10:01 -04:00
lpfc_nl.h
lpfc_nportdisc.c scsi: lpfc: Fix LUN loss after cable pull 2020-08-04 20:56:57 -04:00
lpfc_nvme.c scsi: lpfc: Correct some pretty obvious misdocumentation 2020-07-15 17:28:24 -04:00
lpfc_nvme.h lpfc: nvmet: Add support for NVME LS request hosthandle 2020-05-09 16:18:34 -06:00
lpfc_nvmet.c scsi: lpfc: nvmet: Avoid hang / use-after-free again when destroying targetport 2020-08-04 20:56:56 -04:00
lpfc_scsi.c scsi: lpfc: Add an internal trace log buffer 2020-07-02 23:06:49 -04:00
lpfc_scsi.h
lpfc_sli4.h scsi: lpfc: Add blk_io_poll support for latency improvment 2020-07-02 23:06:42 -04:00
lpfc_sli.c scsi: lpfc: Fix oops when unloading driver while running mds diags 2020-08-04 20:56:57 -04:00
lpfc_sli.h
lpfc_version.h scsi: lpfc: Update lpfc version to 12.8.0.3 2020-08-04 20:56:57 -04:00
lpfc_vport.c scsi: lpfc: Add an internal trace log buffer 2020-07-02 23:06:49 -04:00
lpfc_vport.h
lpfc.h scsi: lpfc: Add an internal trace log buffer 2020-07-02 23:06:49 -04:00
Makefile