scsi: smartpqi: fix LUN reset when fw bkgnd thread is hung
authorMurthy Bhat <Murthy.Bhat@microsemi.com>
Mon, 7 Oct 2019 22:31:40 +0000 (17:31 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 10 Oct 2019 03:07:50 +0000 (23:07 -0400)
commitc2922f174fa0fbb699c3bd0ad40c73d067a90197
treecd5f4e21f1df9284b497ce7a0d45be1632dc04ff
parent21432010d5282a9aa4d0946816468849bd2fe1b5
scsi: smartpqi: fix LUN reset when fw bkgnd thread is hung

Add support for a timeout on LUN resets.

Link: https://lore.kernel.org/r/157048750055.11757.9689400788261610618.stgit@brunhilda
Reviewed-by: Scott Benesh <scott.benesh@microsemi.com>
Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Murthy Bhat <Murthy.Bhat@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/smartpqi/smartpqi.h
drivers/scsi/smartpqi/smartpqi_init.c