linux/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
..
csio_attr.c
csio_defs.h
csio_hw_chip.h
csio_hw_t5.c scsi: csiostor: Fix a typo 2021-03-24 22:54:24 -04:00
csio_hw.c SCSI misc on 20201013 2020-10-14 15:15:35 -07:00
csio_hw.h
csio_init.c scsi: csiostor: Add module softdep on cxgb4 2021-09-28 23:26:42 -04:00
csio_init.h
csio_isr.c
csio_lnode.c
csio_lnode.h
csio_mb.c
csio_mb.h
csio_rnode.c
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
Kconfig
Makefile
t4fw_api_stor.h