summaryrefslogtreecommitdiff
path: root/drivers/scsi/virtio_scsi.c
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2014-05-23 19:52:11 +0400
committerChristoph Hellwig <hch@lst.de>2014-06-25 15:29:32 +0400
commit7114aae02742d6b5c5a0d39a41deb61d415d3717 (patch)
treecf6d4c0153c99b262ee07a050afb3d6262d758fd /drivers/scsi/virtio_scsi.c
parent9ee755974bea2f9880e517ec985dc9dede1b3a36 (diff)
downloadlinux-7114aae02742d6b5c5a0d39a41deb61d415d3717.tar.xz
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 'drivers/scsi/virtio_scsi.c')
0 files changed, 0 insertions, 0 deletions