diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2014-05-23 10:52:11 -0500 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2014-08-06 18:07:33 +0100 |
commit | a89c6d3b6c9660ef09bc794135400b2f8f16db8f (patch) | |
tree | 065cd92b0930ba4bea8f139ffb078cadec26bd11 /mm/mincore.c | |
parent | d9916e33837bcb661d0faad19641eca425c1a52d (diff) | |
download | linux-stable-a89c6d3b6c9660ef09bc794135400b2f8f16db8f.tar.gz linux-stable-a89c6d3b6c9660ef09bc794135400b2f8f16db8f.tar.bz2 linux-stable-a89c6d3b6c9660ef09bc794135400b2f8f16db8f.zip |
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 <brking@linux.vnet.ibm.com>
Acked-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
[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 <ben@decadent.org.uk>
Diffstat (limited to 'mm/mincore.c')
0 files changed, 0 insertions, 0 deletions