]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
scsi: smartpqi: Synchronize device resets with mutex
authorKevin Barnett <kevin.barnett@microchip.com>
Thu, 11 Mar 2021 20:16:38 +0000 (14:16 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 6 Apr 2021 03:02:31 +0000 (23:02 -0400)
commit37f3318199ce31122c389bafb092ee72a6123d9d
treee06eb503f72dd754d52b206eee4290f35e489f7d
parent4ccc354bac14b03e13c1d20131fe6d5a8e2c2c45
scsi: smartpqi: Synchronize device resets with mutex

Remove some flags used to check for device resets already in
progress. Allow only 1 reset operation at a time for the host.

Link: https://lore.kernel.org/r/161549379810.25025.10194117431886743795.stgit@brunhilda
Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com>
Reviewed-by: Scott Teel <scott.teel@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.h
drivers/scsi/smartpqi/smartpqi_init.c