From: Brian King Date: Fri, 23 May 2014 15:52:11 +0000 (-0500) Subject: ibmvscsi: Add memory barriers for send / receive X-Git-Tag: omap-for-v3.16/fixes-rc4~12^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7114aae02742d6b5c5a0d39a41deb61d415d3717;p=pandora-kernel.git 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 Acked-by: Nathan Fontenot Cc: stable@vger.kernel.org Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed