scsi: lpfc: Fix driver not setting dpp bits correctly in doorbell word
authorJames Smart <jsmart2021@gmail.com>
Tue, 26 Jun 2018 15:24:23 +0000 (08:24 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 11 Jul 2018 02:15:08 +0000 (22:15 -0400)
commit5cc167ddb7441013e2b5a5f47bf11af0264bb3e8
tree561d18d9339ec6b777136fb00769a323527d3a77
parentafff0d2321ea2beb6f4dcd029d4667acf73dec25
scsi: lpfc: Fix driver not setting dpp bits correctly in doorbell word

Driver is incorrectly formatting a register on new hardware, using a format
for an older chip. This can result in non-deterministic behavior.

Ensure driver is not setting "workqueue index" in the WQ doorbell when
making a non-dpp doorbell write. The field must be zero when non-dpp.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_sli.c