diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2018-03-14 04:20:24 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-03-15 22:35:44 +0100 |
commit | 561e5d48968be22fc71af6a0e13af6edae595dbe (patch) | |
tree | 7ea473cab206bf1ffbeadcb7de929e1ae58f8eb4 /fs/befs/endian.h | |
parent | RDMA/hns: Fix cqn type and init resp (diff) | |
download | linux-561e5d48968be22fc71af6a0e13af6edae595dbe.tar.xz linux-561e5d48968be22fc71af6a0e13af6edae595dbe.zip |
RDMA/qedr: eliminate duplicate barriers on weakly-ordered archs
Code includes wmb() followed by writel() in multiple places. 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>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'fs/befs/endian.h')
0 files changed, 0 insertions, 0 deletions