mirror-linux/drivers/scsi/mpt3sas
David Jeffery 0fde22c542 scsi: mpt3sas: Stop fw fault watchdog work item during system shutdown
During system shutdown or reboot, mpt3sas will reset the firmware back to
ready state. However, the driver leaves running a watchdog work item
intended to keep the firmware in operational state. This causes a second,
unneeded reset on shutdown and moves the firmware back to operational
instead of in ready state as intended. And if the mpt3sas_fwfault_debug
module parameter is set, this extra reset also panics the system.

mpt3sas's scsih_shutdown needs to stop the watchdog before resetting the
firmware back to ready state.

Link: https://lore.kernel.org/r/20220722142448.6289-1-djeffery@redhat.com
Fixes: fae21608c3 ("scsi: mpt3sas: Transition IOC to Ready state during shutdown")
Tested-by: Laurence Oberman <loberman@redhat.com>
Acked-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: David Jeffery <djeffery@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-07-26 21:40:43 -04:00
..
mpi scsi: mpt3sas: Convert to flexible arrays 2022-02-07 23:16:34 -05:00
Kconfig
Makefile
mpt3sas_base.c scsi: mpt3sas: Fix out-of-bounds compiler warning 2022-06-07 22:01:41 -04:00
mpt3sas_base.h scsi: mpt3sas: Update driver version to 42.100.00.00 2022-05-19 20:16:25 -04:00
mpt3sas_config.c scsi: mpt3sas: Fail reset operation if config request timed out 2022-04-06 22:14:09 -04:00
mpt3sas_ctl.c scsi: mpt3sas: Fix _ctl_set_task_mid() TaskMID check 2022-04-25 22:30:04 -04:00
mpt3sas_ctl.h scsi: mpt3sas: Fix out-of-bounds warnings in _ctl_addnl_diag_query 2021-04-13 00:31:05 -04:00
mpt3sas_debug.h
mpt3sas_debugfs.c
mpt3sas_scsih.c scsi: mpt3sas: Stop fw fault watchdog work item during system shutdown 2022-07-26 21:40:43 -04:00
mpt3sas_transport.c
mpt3sas_trigger_diag.c
mpt3sas_trigger_diag.h
mpt3sas_trigger_pages.h
mpt3sas_warpdrive.c