summaryrefslogtreecommitdiff
path: root/crypto/crypto_user.c
diff options
context:
space:
mode:
authorSinan Kaya <okaya@codeaurora.org>2018-03-19 22:47:44 -0400
committerJason Gunthorpe <jgg@mellanox.com>2018-03-21 13:51:41 -0600
commit97d82a48d7a7eca6f20b100ae19811134509406e (patch)
treec748fec9d12b873df810c1cf787bdc94b625c7d3 /crypto/crypto_user.c
parent185899ee8d00460a305e07ed2df178dbf7455227 (diff)
IB/mlx4: Eliminate duplicate barriers on weakly-ordered archs
Code includes wmb() followed by writel(). writel() already has a barrier on some architectures like arm64. This ends up CPU observing two barriers back to back before executing the register write. Since code already has an explicit barrier call, changing writel() to writel_relaxed(). Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'crypto/crypto_user.c')
0 files changed, 0 insertions, 0 deletions