linux-stable/drivers/scsi
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
..
aacraid pci-v5.9-changes 2020-08-07 18:48:15 -07:00
aic7xxx scsi: aic7xxx: Remove set but unused variables 'targ_info' and 'value' 2020-07-24 22:09:59 -04:00
aic94xx SCSI misc on 20200806 2020-08-06 16:50:07 -07:00
arcmsr scsi: arcmsr: arcmsr_hba: Remove statement with no effect 2020-07-24 22:09:57 -04:00
arm scsi: eesox: Fix different dev_id between request_irq() and free_irq() 2020-07-02 23:53:44 -04:00
be2iscsi scsi: be2iscsi: Correct misdocumentation of function param 'ep' 2020-07-24 22:32:10 -04:00
bfa scsi: bfa: Ensure a blank line precedes next function/header 2020-07-24 22:33:06 -04:00
bnx2fc scsi: bnx2fc: Demote obvious misuse of kerneldoc to standard comment blocks 2020-07-15 16:01:58 -04:00
bnx2i scsi: bnx2i: Add parameter description and rename another 2020-07-24 22:33:07 -04:00
csiostor scsi: csiostor: Add missing description for csio_rnode_fwevt_handler()'s 'fwevt' param 2020-07-24 22:32:07 -04:00
cxgbi scsi: libcxgbi: Fix a use after free in cxgbi_conn_xmit_pdu() 2020-08-24 23:00:57 -04:00
cxlflash scsi: cxlflash: Remove an unnecessary NULL check 2020-06-09 21:57:27 -04:00
device_handler
dpt
esas2r scsi: esas2r: Demote a few non-conformant kerneldoc headers 2020-07-24 22:33:07 -04:00
fcoe scsi: fcoe: Memory leak fix in fcoe_sysfs_fcf_del() 2020-08-04 20:56:56 -04:00
fnic scsi: fnic: Use eth_broadcast_addr() to assign broadcast address 2020-07-24 22:09:56 -04:00
hisi_sas SCSI misc on 20200806 2020-08-06 16:50:07 -07:00
ibmvscsi scsi: Fix trivial spelling 2020-06-15 23:28:04 -04:00
ibmvscsi_tgt
isci SCSI misc on 20200806 2020-08-06 16:50:07 -07:00
libfc scsi: libfc: Fix for double free() 2020-08-31 21:42:51 -04:00
libsas scsi: libsas: Remove redundant assignment to variable res 2020-07-24 22:09:56 -04:00
lpfc scsi: lpfc: Fix setting IRQ affinity with an empty CPU mask 2020-08-31 21:51:26 -04:00
megaraid SCSI misc on 20200806 2020-08-06 16:50:07 -07:00
mpt3sas SCSI misc on 20200806 2020-08-06 16:50:07 -07:00
mvsas SCSI misc on 20200806 2020-08-06 16:50:07 -07:00
pcmcia scsi: pcmcia: nsp_cs: Remove unused variable 'dummy' 2020-07-08 01:12:54 -04:00
pm8001 scsi: pm8001: Fix memleak in pm8001_exec_internal_task_abort 2020-08-31 21:21:01 -04:00
qedf scsi: qedf: Fix null ptr reference in qedf_stag_change_work 2020-08-24 22:58:38 -04:00
qedi scsi: qedi: Staticify non-external function 'qedi_get_iscsi_error' 2020-07-24 22:33:05 -04:00
qla2xxx scsi: qla2xxx: Fix regression on sparc64 2020-08-31 21:43:12 -04:00
qla4xxx scsi: qla4xxx: Rename function parameter descriptions 2020-07-24 22:32:02 -04:00
smartpqi PCI: Convert PCIe capability PCIBIOS errors to errno 2020-06-26 13:50:09 -05:00
snic scsi: snic: Make snic_io_exch_ver_cmpl_handler() return void 2020-04-24 18:21:15 -04:00
sym53c8xx_2 pci-v5.9-changes 2020-08-07 18:48:15 -07:00
ufs scsi: ufs: No need to send Abort Task if the task in DB was cleared 2020-08-17 22:09:14 -04:00
.gitignore
3w-9xxx.c
3w-9xxx.h
3w-sas.c
3w-sas.h
3w-xxxx.c
3w-xxxx.h
53c700.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
53c700.h
53c700.scr
53c700_d.h_shipped
a100u2w.c
a100u2w.h
a2091.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
a2091.h
a3000.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
a3000.h
a4000t.c
advansys.c
aha152x.c scsi: aha152x: Remove unused variable 'ret' 2020-07-08 01:12:53 -04:00
aha152x.h
aha1542.c
aha1542.h
aha1740.c
aha1740.h
am53c974.c
atari_scsi.c
atp870u.c
atp870u.h
BusLogic.c scsi: BusLogic: Remove conversion to bool in blogic_inquiry() 2020-04-24 18:21:14 -04:00
BusLogic.h
bvme6000_scsi.c
ch.c
constants.c
dc395x.c treewide: Remove uninitialized_var() usage 2020-07-16 12:35:15 -07:00
dc395x.h
dmx3191d.c
dpt_i2o.c scsi: dpt_i2o: Remove superfluous memset() 2020-07-24 22:09:57 -04:00
dpti.h
esp_scsi.c
esp_scsi.h
fdomain.c
fdomain.h scsi: fdomain: Mark 'fdomain_pm_ops' as __maybe_unused 2020-07-08 01:12:44 -04:00
fdomain_isa.c
fdomain_pci.c
FlashPoint.c
g_NCR5380.c
gdth.c scsi: gdth: Make __gdth_execute static 2020-04-14 21:32:39 -04:00
gdth.h
gdth_ioctl.h
gdth_proc.c
gdth_proc.h
gvp11.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
gvp11.h
hosts.c scsi: core: Register sysfs for SCSI workqueue 2020-07-02 23:17:05 -04:00
hpsa.c scsi: hpsa: Correct ctrl queue depth 2020-07-28 22:34:52 -04:00
hpsa.h scsi: hpsa: Increase queue depth for external LUNs 2020-07-24 22:09:53 -04:00
hpsa_cmd.h
hptiop.c
hptiop.h
imm.c scsi: imm: Remove superfluous breaks 2020-07-24 22:09:55 -04:00
imm.h
initio.c
initio.h
ipr.c SCSI misc on 20200806 2020-08-06 16:50:07 -07:00
ipr.h scsi: ipr: Fix struct packed-not-aligned issues 2020-07-15 17:26:58 -04:00
ips.c scsi: ips: Convert strnlen() to memcpy() since result should not be NUL terminated 2020-07-24 22:32:00 -04:00
ips.h
iscsi_boot_sysfs.c scsi: iscsi: Fix reference count leak in iscsi_boot_create_kobj 2020-06-02 21:23:47 -04:00
iscsi_tcp.c
iscsi_tcp.h
jazz_esp.c
Kconfig scsi: lpfc: Add dependency on CPU_FREQ 2020-07-24 22:09:55 -04:00
lasi700.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
libiscsi.c scsi: iscsi: Change iSCSI workqueue max_active back to 1 2020-07-02 23:13:54 -04:00
libiscsi_tcp.c
mac53c94.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
mac53c94.h
mac_esp.c
mac_scsi.c
Makefile
megaraid.c scsi: megaraid: Remove set but unused variable 2020-07-08 01:03:23 -04:00
megaraid.h
mesh.c scsi: mesh: Fix panic after host or bus reset 2020-07-24 22:09:56 -04:00
mesh.h
mvme16x_scsi.c
mvme147.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
mvme147.h
mvumi.c
mvumi.h
myrb.c
myrb.h
myrs.c scsi: myrs: Demote obvious misuse of kerneldoc to standard comment blocks 2020-07-15 17:26:59 -04:00
myrs.h
ncr53c8xx.c
ncr53c8xx.h
NCR5380.c
NCR5380.h
nsp32.c
nsp32.h
nsp32_debug.c
nsp32_io.h
pmcraid.c scsi: pmcraid: Replace dma_pool_malloc with dma_pool_zalloc 2020-04-24 18:21:15 -04:00
pmcraid.h
ppa.c scsi: ppa: Remove superfluous breaks 2020-07-24 22:09:55 -04:00
ppa.h
ps3rom.c
qla1280.c scsi: qla1280: make qla1280_firmware_mutex and qla1280_fw_tbl static 2020-04-14 21:42:10 -04:00
qla1280.h
qlogicfas.c
qlogicfas408.c
qlogicfas408.h
qlogicpti.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
qlogicpti.h
raid_class.c
script_asm.pl
scsi.c scsi: core: Remove scsi_sdb_cache 2020-06-19 23:06:43 -04:00
scsi.h
scsi_common.c
scsi_debug.c scsi: scsi_debug: Remove superfluous close zone in resp_open_zone() 2020-08-24 23:02:18 -04:00
scsi_debugfs.c
scsi_debugfs.h
scsi_devinfo.c scsi: dh: Add Fujitsu device to devinfo and dh lists 2020-07-08 01:16:23 -04:00
scsi_dh.c scsi: dh: Add Fujitsu device to devinfo and dh lists 2020-07-08 01:16:23 -04:00
scsi_error.c scsi: core: Fix incorrect usage of shost_for_each_device 2020-05-19 21:54:17 -04:00
scsi_ioctl.c scsi_ioctl.c: switch SCSI_IOCTL_GET_IDLUN to copy_to_user() 2020-04-25 18:06:39 -04:00
scsi_lib.c SCSI misc on 20200806 2020-08-06 16:50:07 -07:00
scsi_lib_dma.c
scsi_logging.c scsi: core: Delete unnecessary buffer allocation for every loop iteration 2020-07-24 22:09:57 -04:00
scsi_logging.h
scsi_netlink.c
scsi_pm.c scsi: block: pm: Simplify resume handling 2020-07-24 22:09:55 -04:00
scsi_priv.h scsi: core: Remove scsi_sdb_cache 2020-06-19 23:06:43 -04:00
scsi_proc.c
scsi_sas_internal.h
scsi_scan.c
scsi_sysctl.c
scsi_sysfs.c
scsi_trace.c
scsi_transport_api.h
scsi_transport_fc.c
scsi_transport_iscsi.c SCSI misc on 20200806 2020-08-06 16:50:07 -07:00
scsi_transport_sas.c scsi: scsi_transport_sas: Add spaces around binary operator "|" 2020-08-04 20:56:56 -04:00
scsi_transport_spi.c scsi: scsi_transport_spi: Fix function pointer check 2020-06-29 21:34:35 -04:00
scsi_transport_srp.c scsi: scsi_transport_srp: Sanitize scsi_target_block/unblock sequences 2020-07-30 21:15:26 -04:00
scsicam.c
sd.c scsi: sd_zbc: Improve zone revalidation 2020-08-04 20:56:56 -04:00
sd.h scsi: sd_zbc: Improve zone revalidation 2020-08-04 20:56:56 -04:00
sd_dif.c
sd_zbc.c SCSI misc on 20200814 2020-08-14 16:01:59 -07:00
sense_codes.h
ses.c
sg.c scsi: sg: add sg_remove_request in sg_write 2020-04-14 21:15:53 -04:00
sgiwd93.c scsi: sgiwd93: Remove unneeded semicolon in sgiwd93.c 2020-04-24 18:21:29 -04:00
sim710.c
sni_53c710.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
sr.c SCSI misc on 20200613 2020-06-13 13:17:49 -07:00
sr.h
sr_ioctl.c
sr_vendor.c
st.c scsi: st: Convert convert get_user_pages() --> pin_user_pages() 2020-06-09 21:57:26 -04:00
st.h
st_options.h
stex.c
storvsc_drv.c SCSI misc on 20200806 2020-08-06 16:50:07 -07:00
sun3_scsi.c
sun3_scsi_vme.c
sun3x_esp.c
sun_esp.c
virtio_scsi.c virtio: fixes, features 2020-08-11 14:34:17 -07:00
vmw_pvscsi.c scsi: vmw_pvscsi: Use true, false for adapter->use_msg 2020-05-07 22:03:54 -04:00
vmw_pvscsi.h
wd33c93.c
wd33c93.h
wd719x.c
wd719x.h
xen-scsifront.c
zalon.c
zorro7xx.c
zorro_esp.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00