commit | 7114aae02742d6b5c5a0d39a41deb61d415d3717 | [log] [tgz] |
---|---|---|
author | Brian King <brking@linux.vnet.ibm.com> | Fri May 23 10:52:11 2014 -0500 |
committer | Christoph Hellwig <hch@lst.de> | Wed Jun 25 13:29:32 2014 +0200 |
tree | cf6d4c0153c99b262ee07a050afb3d6262d758fd | |
parent | 9ee755974bea2f9880e517ec985dc9dede1b3a36 [diff] |
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>