aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSagar Biradar <sagar.biradar@microchip.com>2022-07-08 13:47:15 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2022-07-13 23:42:03 -0400
commit331f7e998b20c406e8d3689b1c0d77c6325a5d4b (patch)
tree3ee15b3854cd084c303014bbbefa40619b692641 /tools/perf/scripts/python/export-to-sqlite.py
parent904f2bfda65e051906e79030b7cbfa2f5db3e5f4 (diff)
downloadlinux-331f7e998b20c406e8d3689b1c0d77c6325a5d4b.tar.gz
linux-331f7e998b20c406e8d3689b1c0d77c6325a5d4b.tar.bz2
linux-331f7e998b20c406e8d3689b1c0d77c6325a5d4b.zip
scsi: smartpqi: Fix PCI control linkdown system hang
Fail all outstanding requests after a PCI linkdown. Block access to device SCSI attributes during the following conditions: "Cable pull" is called PQI_CTRL_SURPRISE_REMOVAL. "PCIe Link Down" is called PQI_CTRL_GRACEFUL_REMOVAL. Block access to device SCSI attributes during and in rare instances when the controller goes offline. Either outstanding requests or the access of SCSI attributes post linkdown can lead to a hang. Post linkdown, driver does not fail the outstanding requests leading to long wait time before all the IOs eventually fail. Also access of the SCSI attributes by host applications can lead to a system hang. Link: https://lore.kernel.org/r/165730603578.177165.4699352086827187263.stgit@brunhilda Reviewed-by: Scott Benesh <scott.benesh@microchip.com> Reviewed-by: Scott Teel <scott.teel@microchip.com> Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com> Reviewed-by: Kevin Barnett <kevin.barnett@microchip.com> Signed-off-by: Sagar Biradar <sagar.biradar@microchip.com> Signed-off-by: Don Brace <don.brace@microchip.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions