diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-03-19 22:50:05 -0400 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-06-18 21:02:52 -0400 |
commit | f2233a33dc1fef4aa30dc11e4c676637bf358c3d (patch) | |
tree | ea1db52ba3623f7243ece01e55a971e4e96602cf /Makefile | |
parent | 6c3796d130ed2860489885a934dcb7bb334d5eb0 (diff) | |
download | linux-f2233a33dc1fef4aa30dc11e4c676637bf358c3d.tar.bz2 |
scsi: ipr: Eliminate duplicate barriers
Driver does both wmb() and writel(). The latter already has a barrier
on some architectures like arm64. This ends up with CPU observing two
barriers back to back before executing the register write.
Drivers should generally assume that the barrier implied by writel() is
sufficient for ordering DMA. Remove the extraneous wmb() before it.
[mkp: Squashed Arnd's and Sinan's patches]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: Sinan Kaya <okaya@codeaurora.org>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions