2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 04:34:11 +08:00
linux-next/drivers/scsi/ibmvscsi
Tyrel Datwyler b39205d248 scsi: ibmvscsi: add write memory barrier to CRQ processing
The first byte of each CRQ entry is used to indicate whether an entry is
a valid response or free for the VIOS to use. After processing a
response the driver sets the valid byte to zero to indicate the entry is
now free to be reused. Add a memory barrier after this write to ensure
no other stores are reordered when updating the valid byte.

Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Reviewed-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-12-08 17:04:25 -05:00
..
ibmvfc.c scsi: fc: use bsg_job_done 2016-11-17 20:15:26 -05:00
ibmvfc.h scsi: ibmvfc: add FC Class 3 Error Recovery support 2016-08-25 23:39:26 -04:00
ibmvscsi.c scsi: ibmvscsi: add write memory barrier to CRQ processing 2016-12-08 17:04:25 -05:00
ibmvscsi.h scsi: ibmvscsi: add vscsi hosts to global list_head 2016-12-08 17:02:01 -05:00
Makefile ibmvstgt: remove 2014-07-17 22:07:43 +02:00