]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lpfc: Fix cq_id masking problem.
authorJames Smart <james.smart@avagotech.com>
Fri, 22 May 2015 14:42:40 +0000 (10:42 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 19 Oct 2015 16:10:56 +0000 (09:10 -0700)
commit35ddd96204cc0dda907d0e2dbf1069fc90e400c5
tree4f5289fec4e5b4b8c956721fcdb3f4af4933bdde
parentbed13250e73687ea15b1408fefbbfbb97df6a088
lpfc: Fix cq_id masking problem.

The driver inadvertainly constrained the id space to 8 bits, when its
a full 16 bits from hw. This resulted in bad id's being written to the
hardware. Resulted in symptoms such as incomplete initialization, no
detection of link events, etc.

Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
(cherry picked from commit 16f3b48d26ac069abc020826f0c429c4ddcfb20c)

Orabug: 22029622
From dick.kennedy@avagotech.com lpfc-10.5.0.1-11.0.0.3-1.tar.gz
Acked-by: Chuck Anderson <chuck.anderson@oracle.com>
drivers/scsi/lpfc/lpfc_hw4.h