aboutsummaryrefslogtreecommitdiff
path: root/drivers/pnp/Makefile
diff options
context:
space:
mode:
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>2017-06-21 21:16:54 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2017-06-26 15:01:14 -0400
commit8ba1ddb31f528cb45be39b7f3b600261afaa7920 (patch)
tree9d410c8c9a5395ca36e9af890a63fc628c7e3932 /drivers/pnp/Makefile
parent479ad8e9d48c4d82c92417b012193e967fc33b8a (diff)
scsi: cxlflash: Update TMF command processing
Currently, the SCSI command presented to the device reset handler is used to send TMFs to the AFU for a device reset. This behavior is incorrect as the command presented is an actual command and not a special notification. As such, it should only be used for reference and not be acted upon. Additionally, the existing TMF transmission routine does not account for actual errors from the hardware, only reflecting failure when a timeout occurs. This can lead to a condition where the device reset handler is presented with a false 'success'. Update send_tmf() to dynamically allocate a private command for sending the TMF command and properly reflect failure when the completed command indicates an error or was aborted. Detect TMF commands during response processing and avoid scsi_done() for these types of commands. Lastly, update comments in the TMF processing paths to describe the new behavior. Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/pnp/Makefile')
0 files changed, 0 insertions, 0 deletions