]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: smartpqi: Stop logging spurious PQI reset failures
authorKevin Barnett <kevin.barnett@microchip.com>
Fri, 8 Jul 2022 18:47:31 +0000 (13:47 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 14 Jul 2022 03:42:03 +0000 (23:42 -0400)
commitee2d67cba8179a8cd47b8c2e182c241a24da3e85
tree656d18ff4653e868fb403f948d5eff8d538b557c
parentdfd53331e88e9ebb07fbaf9abdd6edbe055dbdc8
scsi: smartpqi: Stop logging spurious PQI reset failures

Change method used to detect controller firmware crash during PQI reset.

PQI reset can fail with error -6 if firmware takes > 100ms to complete
reset.

Method used by driver to detect controller firmware crash during PQI was
incorrect in some cases.

Link: https://lore.kernel.org/r/165730605108.177165.1132931838384767071.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>
Signed-off-by: Kevin Barnett <kevin.barnett@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/smartpqi/smartpqi_init.c