linux/drivers/scsi/lpfc
James Smart b1b105a633 scsi: lpfc: use hdwq assigned cpu for allocation
[ Upstream commit 4583a4f66b ]

Looking at the recent conversion from smp_processor_id() to
raw_smp_processor_id(), realized that the allocation should be based on the
cpu the hdwq is bound to, not the executing cpu.

Revise to pull cpu number from the hdwq

Fixes: 765ab6cdac ("scsi: lpfc: Fix a kernel warning triggered by lpfc_get_sgl_per_hdwq()")
Link: https://lore.kernel.org/r/20191116003847.6141-1-jsmart2021@gmail.com
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-23 08:23:01 +01:00
..
Makefile
lpfc.h
lpfc_attr.c
lpfc_attr.h
lpfc_bsg.c
lpfc_bsg.h
lpfc_compat.h
lpfc_crtn.h
lpfc_ct.c
lpfc_debugfs.c
lpfc_debugfs.h
lpfc_disc.h
lpfc_els.c
lpfc_hbadisc.c scsi: lpfc: Fix rpi release when deleting vport 2020-01-09 10:20:01 +01:00
lpfc_hw.h
lpfc_hw4.h
lpfc_ids.h
lpfc_init.c
lpfc_logmsg.h
lpfc_mbox.c
lpfc_mem.c
lpfc_nl.h
lpfc_nportdisc.c
lpfc_nvme.c
lpfc_nvme.h
lpfc_nvmet.c
lpfc_nvmet.h
lpfc_scsi.c scsi: lpfc: fix: Coverity: lpfc_get_scsi_buf_s3(): Null pointer dereferences 2020-01-23 08:22:58 +01:00
lpfc_scsi.h
lpfc_sli.c scsi: lpfc: use hdwq assigned cpu for allocation 2020-01-23 08:23:01 +01:00
lpfc_sli.h
lpfc_sli4.h
lpfc_version.h
lpfc_vport.c
lpfc_vport.h