linux/drivers/scsi/smartpqi
Kevin Barnett 4ccc354bac scsi: smartpqi: Update soft reset management for OFA
Cleanup soft reset code for Online Firmware Activation (OFA). OFA allows
controller firmware updates without a reboot.

OFA updates require an on-line controller reset to activate the updated
firmware. There were some missing actions for some of the reset cases. The
controller is first set back to sis mode before returning to pqi mode.
Check to ensure the controller is in sis mode.

Release QRM memory (OFA buffer) on OFA error conditions. Clean up
controller state which can cause a kernel panic upon reboot after an
unsuccessful OFA.

Link: https://lore.kernel.org/r/161549379215.25025.10654441314249183621.stgit@brunhilda
Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Signed-off-by: Kevin Barnett <kevin.barnett@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-04-05 23:02:31 -04:00
..
Kconfig scsi: smartpqi: Update copyright 2020-09-02 22:49:06 -04:00
Makefile scsi: smartpqi: add spdx 2019-03-18 16:48:28 -04:00
smartpqi_init.c scsi: smartpqi: Update soft reset management for OFA 2021-04-05 23:02:31 -04:00
smartpqi_sas_transport.c scsi: smartpqi: Align code with oob driver 2021-04-05 23:02:29 -04:00
smartpqi_sis.c scsi: smartpqi: Align code with oob driver 2021-04-05 23:02:29 -04:00
smartpqi_sis.h scsi: smartpqi: Add support for new product ids 2021-04-05 23:02:28 -04:00
smartpqi.h scsi: smartpqi: Update event handler 2021-04-05 23:02:30 -04:00