[PATCH v1 04/11] scsi: ufs: commit descriptors before setting the doorbell

2016-10-17 Thread Subhash Jadavani
From: Gilad Broner Add a write memory barrier to make sure descriptors prepared are actually written to memory before ringing the doorbell. We have also added the write memory barrier after ringing the doorbell register so that controller sees the new request immediately.

[PATCH v1 04/11] scsi: ufs: commit descriptors before setting the doorbell

2016-10-17 Thread Subhash Jadavani
From: Gilad Broner Add a write memory barrier to make sure descriptors prepared are actually written to memory before ringing the doorbell. We have also added the write memory barrier after ringing the doorbell register so that controller sees the new request immediately. Signed-off-by: Gilad