diff options
author | Brian King | 2014-05-23 17:52:11 +0200 |
---|---|---|
committer | Christoph Hellwig | 2014-06-25 13:29:32 +0200 |
commit | 7114aae02742d6b5c5a0d39a41deb61d415d3717 (patch) | |
tree | cf6d4c0153c99b262ee07a050afb3d6262d758fd /include/crypto/hash.h | |
parent | ibmvscsi: Abort init sequence during error recovery (diff) | |
download | kernel-qcow2-linux-7114aae02742d6b5c5a0d39a41deb61d415d3717.tar.gz kernel-qcow2-linux-7114aae02742d6b5c5a0d39a41deb61d415d3717.tar.xz kernel-qcow2-linux-7114aae02742d6b5c5a0d39a41deb61d415d3717.zip |
ibmvscsi: Add memory barriers for send / receive
Add a memory barrier prior to sending a new command to the VIOS
to ensure the VIOS does not receive stale data in the command buffer.
Also add a memory barrier when processing the CRQ for completed commands.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Acked-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/crypto/hash.h')
0 files changed, 0 insertions, 0 deletions