WSL2-Linux-Kernel/drivers/scsi/csiostor
Rahul Lakkireddy 79a7482249 scsi: csiostor: Add module softdep on cxgb4
Both cxgb4 and csiostor drivers run on their own independent Physical
Function. But when cxgb4 and csiostor are both being loaded in parallel via
modprobe, there is a race when firmware upgrade is attempted by both the
drivers.

When the cxgb4 driver initiates the firmware upgrade, it halts the firmware
and the chip until upgrade is complete. When the csiostor driver is coming
up in parallel, the firmware mailbox communication fails with timeouts and
the csiostor driver probe fails.

Add a module soft dependency on cxgb4 driver to ensure loading csiostor
triggers cxgb4 to load first when available to avoid the firmware upgrade
race.

Link: https://lore.kernel.org/r/1632759248-15382-1-git-send-email-rahul.lakkireddy@chelsio.com
Fixes: a3667aaed5 ("[SCSI] csiostor: Chelsio FCoE offload driver")
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-09-28 23:26:42 -04:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
csio_attr.c SCSI misc on 20190306 2019-03-09 16:53:47 -08:00
csio_defs.h
csio_hw.c SCSI misc on 20201013 2020-10-14 15:15:35 -07:00
csio_hw.h scsi: csiostor: fix incorrect port capabilities 2018-08-27 12:26:10 -04:00
csio_hw_chip.h scsi: csiostor: add support for Chelsio T6 adapters 2017-06-12 20:48:04 -04:00
csio_hw_t5.c scsi: csiostor: Fix a typo 2021-03-24 22:54:24 -04:00
csio_init.c scsi: csiostor: Add module softdep on cxgb4 2021-09-28 23:26:42 -04:00
csio_init.h scsi: csiostor: remove unneeded DRIVER_LICENSE #define 2017-12-04 20:32:53 -05:00
csio_isr.c scsi: csiostor: create per port irq affinity mask set 2019-04-29 08:34:08 -04:00
csio_lnode.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
csio_lnode.h
csio_mb.c scsi: csiostor: clean up indentation issue 2019-09-30 23:09:07 -04:00
csio_mb.h scsi: csiostor: add support for 32 bit port capabilities 2018-03-15 00:41:51 -04:00
csio_rnode.c scsi: csiostor: Add missing description for csio_rnode_fwevt_handler()'s 'fwevt' param 2020-07-24 22:32:07 -04:00
csio_rnode.h
csio_scsi.c scsi: csiostor: Use scsi_cmd_to_rq() instead of scsi_cmnd.request 2021-08-11 22:25:38 -04:00
csio_scsi.h
csio_wr.c scsi: csiostor: Fix fall-through warnings for Clang 2020-12-02 12:59:47 -05:00
csio_wr.h cxgb4: Cleanup macros so they follow the same style and look consistent, part 2 2014-11-10 12:57:10 -05:00
t4fw_api_stor.h