From: Brian King Date: Fri, 23 May 2014 15:52:11 +0000 (-0500) Subject: ibmvscsi: Add memory barriers for send / receive X-Git-Tag: v3.2.64~318 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a89c6d3b6c9660ef09bc794135400b2f8f16db8f;p=pandora-kernel.git ibmvscsi: Add memory barriers for send / receive commit 7114aae02742d6b5c5a0d39a41deb61d415d3717 upstream. 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 Signed-off-by: Christoph Hellwig [bwh: Backported to 3.2: as the iSeries code is still present, these functions have different names and live in rpa_vscsi.c.] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed