commit | ad1a1b9cd67a4b5bee8a62454336d94f9e816c1f | [log] [tgz] |
---|---|---|
author | Gilad Broner <gbroner@codeaurora.org> | Mon Oct 17 17:09:36 2016 -0700 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Nov 08 17:29:58 2016 -0500 |
tree | b77f14f5b7a9ea660e5685d78a5b207d93eff55c | |
parent | e3ce73d69aff44421d7899b235fec5ac2c306ff4 [diff] |
scsi: ufs: commit descriptors before setting the doorbell 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 Broner <gbroner@codeaurora.org> Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>