summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ufs/ufs.h
diff options
context:
space:
mode:
authorVishakha Channapattan <vishakhavc@google.com>2021-01-09 13:38:48 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2021-01-13 06:02:01 +0100
commit4f608fbce54bf9e0a42c0e8584e59034dbf12665 (patch)
tree7bf65158033af4825b38d89d5cf727b85b066310 /drivers/scsi/ufs/ufs.h
parentscsi: pm80xx: Simultaneous poll for all FW readiness (diff)
downloadlinux-4f608fbce54bf9e0a42c0e8584e59034dbf12665.tar.xz
linux-4f608fbce54bf9e0a42c0e8584e59034dbf12665.zip
scsi: pm80xx: Log SATA IOMB completion status on failure
Added a log message in SATA completion path to capture the status of failed command. If the status does not match any expected status, another message will be logged. On IO failure with known status, the log message will be: [ 1712.951735] pm80xx0:: mpi_sata_completion 2269: IO failed device_id 16385 status 0x1 tag XX If the firmware returns unexpected status, a message of the following format will be logged: [ 1712.951735] pm80xx0:: mpi_sata_completion XXXX: Unknown status device_id XXXXX status 0xX tag XX Link: https://lore.kernel.org/r/20210109123849.17098-8-Viswas.G@microchip.com Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com> Signed-off-by: Vishakha Channapattan <vishakhavc@google.com> Signed-off-by: Viswas G <Viswas.G@microchip.com> Signed-off-by: Ruksar Devadi <Ruksar.devadi@microchip.com> Signed-off-by: Ashokkumar N <Ashokkumar.N@microchip.com> Signed-off-by: Radha Ramachandran <radha@google.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/ufs.h')
0 files changed, 0 insertions, 0 deletions