Re: [PATCHv2 2/2] ibmvscsi: Add memory barriers for send / receive

2014-05-27 Thread Nathan Fontenot
On 05/23/2014 10:52 AM, Brian King wrote: > 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:

[PATCHv2 2/2] ibmvscsi: Add memory barriers for send / receive

2014-05-23 Thread Brian King
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 --- drivers/scsi/ibmvscsi/ibmvscsi.c | 10 ++ 1 fi