linux-stable/drivers/scsi/smartpqi
Mahesh Rajashekhara 29cc05786f scsi: smartpqi: Fix kdump issue when controller is locked up
[ Upstream commit 3ada501d60 ]

Avoid dropping into shell if the controller is in locked up state.

Driver issues SIS soft reset to bring back the controller to SIS mode while
OS boots into kdump mode.

If the controller is in lockup state, SIS soft reset does not work.

Since the controller lockup code has not been cleared, driver considers the
firmware is no longer up and running. Driver returns back an error code to
OS and the kdump fails.

Link: https://lore.kernel.org/r/164375212337.440833.11955356190354940369.stgit@brunhilda.pdev.net
Reviewed-by: Kevin Barnett <kevin.barnett@microchip.com>
Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Signed-off-by: Mahesh Rajashekhara <mahesh.rajashekhara@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-13 19:27:12 +02:00
..
Kconfig scsi: smartpqi: Change Kconfig menu entry to Microchip 2021-07-19 22:00:56 -04:00
Makefile scsi: smartpqi: add spdx 2019-03-18 16:48:28 -04:00
smartpqi.h scsi: smartpqi: Fix duplicate device nodes for tape changers 2021-10-05 00:13:15 -04:00
smartpqi_init.c scsi: smartpqi: Fix kdump issue when controller is locked up 2022-04-13 19:27:12 +02:00
smartpqi_sas_transport.c scsi: smartpqi: Add extended report physical LUNs 2021-10-05 00:13:15 -04:00
smartpqi_sis.c scsi: smartpqi: Capture controller reason codes 2021-10-05 00:13:14 -04:00
smartpqi_sis.h scsi: smartpqi: Capture controller reason codes 2021-10-05 00:13:14 -04:00