diff options
author | Murthy Bhat <Murthy.Bhat@microchip.com> | 2021-09-29 02:54:34 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-10-05 07:13:14 +0300 |
commit | 5d1f03e6f49ae80d417dc72d1ee16a3379e2c026 (patch) | |
tree | 29202d1d68a9a6423ab8f4e2eb31b29bff69d337 /drivers/scsi/hpsa.h | |
parent | 9ee5d6e9ac52a3c8625697535f8e35864d9fd38c (diff) | |
download | linux-5d1f03e6f49ae80d417dc72d1ee16a3379e2c026.tar.xz |
scsi: smartpqi: Capture controller reason codes
In some rare cases, the driver can halt the controller. Add a reason code
describing why the controller was halted. Store this reason code in a
controller register to aid in debugging the issue.
Link: https://lore.kernel.org/r/20210928235442.201875-4-don.brace@microchip.com
Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com>
Acked-by: John Donnelly <john.p.donnelly@oracle.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>
Diffstat (limited to 'drivers/scsi/hpsa.h')
0 files changed, 0 insertions, 0 deletions