summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2014-05-07 17:16:46 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-29 12:08:34 -0700
commit17c06c69128f310cac51858455b1483a30c875ad (patch)
tree9a149d21bf6ea109ee4f3f77d7abce6c237efc5c /scripts/cleanpatch
parent14f81062f365fa9e3839bb2a16862217b71a553c (diff)
lpfc: Add iotag memory barrier
commit 27f344eb15dd0da80ebec80c7245e8c85043f841 upstream. Add a memory barrier to ensure the valid bit is read before any of the cqe payload is read. This fixes an issue seen on Power where the cqe payload was getting loaded before the valid bit. When this occurred, we saw an iotag out of range error when a command completed, but since the iotag looked invalid the command didn't get completed to scsi core. Later we hit the command timeout, attempted to abort the command, then waited for the aborted command to get returned. Since the adapter already returned the command, we timeout waiting, and end up escalating EEH all the way to host reset. This patch fixes this issue. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions