summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_version.h
diff options
context:
space:
mode:
authorJames Smart2016-12-20 00:07:30 +0100
committerMartin K. Petersen2017-01-05 06:21:12 +0100
commit6b3b3bdb83b4ad51252d21bb13596db879e51850 (patch)
treef17ff435e68b90c8ff8cc125d69a89bafe81a2c4 /drivers/scsi/lpfc/lpfc_version.h
parentscsi: lpfc: Correct oops on vport port resets (diff)
downloadkernel-qcow2-linux-6b3b3bdb83b4ad51252d21bb13596db879e51850.tar.gz
kernel-qcow2-linux-6b3b3bdb83b4ad51252d21bb13596db879e51850.tar.xz
kernel-qcow2-linux-6b3b3bdb83b4ad51252d21bb13596db879e51850.zip
scsi: lpfc: Add missing memory barrier
On loosely ordered memory systems (PPC for example), the WQE elements were being updated in memory, but not necessarily flushed before the separate doorbell was written to hw which would cause hw to dma the WQE element. Thus, the hardware occasionally received partially updated WQE data. Add the memory barrier after updating the WQE memory. 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>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_version.h')
0 files changed, 0 insertions, 0 deletions