diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-03-20 03:50:05 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-06-19 03:02:52 +0200 |
commit | f2233a33dc1fef4aa30dc11e4c676637bf358c3d (patch) | |
tree | ea1db52ba3623f7243ece01e55a971e4e96602cf /drivers/ipack | |
parent | scsi: target: tcmu: add read length support (diff) | |
download | linux-f2233a33dc1fef4aa30dc11e4c676637bf358c3d.tar.xz linux-f2233a33dc1fef4aa30dc11e4c676637bf358c3d.zip |
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 'drivers/ipack')
0 files changed, 0 insertions, 0 deletions