]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: pm80xx: Remove global lock from outbound queue processing
authorViswas G <Viswas.G@microchip.com>
Thu, 15 Apr 2021 10:33:52 +0000 (16:03 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 16 Apr 2021 02:29:00 +0000 (22:29 -0400)
commit52098e5bfad4b0570ccbd3abc0e98f8405511c9b
tree6c5cb5116e01a1b64486860da57c0f070e658464
parentb98e39175fb7626e60cb00fb08bea79a687f9319
scsi: pm80xx: Remove global lock from outbound queue processing

Introduce spin lock for outbound queue. With this, driver need not acquire
HBA global lock for outbound queue processing.

Link: https://lore.kernel.org/r/20210415103352.3580-9-Viswas.G@microchip.com
Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Viswas G <Viswas.G@microchip.com>
Signed-off-by: Ruksar Devadi <Ruksar.devadi@microchip.com>
Signed-off-by: Ashokkumar N <Ashokkumar.N@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/pm8001/pm8001_init.c
drivers/scsi/pm8001/pm8001_sas.h
drivers/scsi/pm8001/pm80xx_hwi.c