]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
scsi: lpfc: Correct invalid EQ doorbell write on if_type=6
authorJames Smart <jsmart2021@gmail.com>
Mon, 10 Sep 2018 17:30:47 +0000 (10:30 -0700)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 26 Nov 2019 12:17:00 +0000 (13:17 +0100)
commitae86e1250b2d893dc123c8390895965f489df999
treed290d06c01654b0cb6af3b94396337139f9ae449
parent8fe9110fefd87b9ce8d214e3c1a449753300a306
scsi: lpfc: Correct invalid EQ doorbell write on if_type=6

BugLink: https://bugs.launchpad.net/bugs/1853915
[ Upstream commit aad59d5d34738d6fd8c359df8048a84cd443e504 ]

During attachment, the driver writes the EQ doorbell to disable potential
interrupts from an EQ. The current EQ doorbell format used for clearing the
interrupt is incorrect and uses an if_type=2 format, making the operation act
on the wrong EQ.

Correct the code to use the proper if_type=6 EQ doorbell format.

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/scsi/lpfc/lpfc_sli.c