linux/drivers/scsi/smartpqi
Murthy Bhat f0e473e0f6 scsi: smartpqi: Add SCSI cmd info for resets
Report on SCSI command that has triggered the reset.  Also add check for
NULL SCSI commands resulting from issuing sg_reset when there is no
outstanding commands.

   Example:

   sg_reset -d /dev/sgXY
   smartpqi 0000:39:00.0: resetting scsi 4:0:1:0 due to cmd 0x12

Link: https://lore.kernel.org/r/20210714182847.50360-6-don.brace@microchip.com
Reviewed-by: Kevin Barnett <kevin.barnett@microchip.com>
Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com>
Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Signed-off-by: Murthy Bhat <Murthy.Bhat@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-07-19 22:00:56 -04: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_init.c scsi: smartpqi: Add SCSI cmd info for resets 2021-07-19 22:00:56 -04:00
smartpqi_sas_transport.c scsi: smartpqi: Update copyright notices 2021-07-19 22:00:56 -04:00
smartpqi_sis.c scsi: smartpqi: Update copyright notices 2021-07-19 22:00:56 -04:00
smartpqi_sis.h scsi: smartpqi: Update copyright notices 2021-07-19 22:00:56 -04:00
smartpqi.h scsi: smartpqi: Update copyright notices 2021-07-19 22:00:56 -04:00