summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-cache-metadata.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-03-20 03:50:05 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-06-19 03:02:52 +0200
commitf2233a33dc1fef4aa30dc11e4c676637bf358c3d (patch)
treeea1db52ba3623f7243ece01e55a971e4e96602cf /drivers/md/dm-cache-metadata.h
parentscsi: target: tcmu: add read length support (diff)
downloadlinux-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/md/dm-cache-metadata.h')
0 files changed, 0 insertions, 0 deletions