]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
scsi: lpfc: Fix 16gb hbas failing cq create.
authorJames Smart <jsmart2021@gmail.com>
Tue, 5 Jun 2018 16:10:41 +0000 (12:10 -0400)
committerKhalid Elmously <khalid.elmously@canonical.com>
Thu, 7 Jun 2018 18:49:30 +0000 (14:49 -0400)
commit51ed5b6f80914fe1293f87e40cb9863093694798
tree7c93056f38d39a397850690a643330922b347b12
parent0116c13484aa8a5a19b7d8b7459fd41b1c529420
scsi: lpfc: Fix 16gb hbas failing cq create.

BugLink: http://bugs.launchpad.net/bugs/1768103
The lancer G5 chip family fails the CQ create with 16k page size.  The
hardware incorrectly reports it supports large page sizes when it is
actually limited to 4k pages.

A prior patch resolved this for the A0 chip revision only.  This patch
excludes all revisions of the G5 asic from using large page sizes. As
knowing the actual chip revision is unnecessary, the now unused definitions
are removed

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from linux-next commit c221768bd49a7423be57c00a56985c0e9c4122cd)
Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.com>
Acked-by: Khalid Elmously <khalid.elmously@canonical.com>
Acked-by: Kleber Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/scsi/lpfc/lpfc_hw4.h
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_sli4.h