aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rxe
diff options
context:
space:
mode:
authorSinan Kaya <okaya@codeaurora.org>2018-03-13 23:20:24 -0400
committerJason Gunthorpe <jgg@mellanox.com>2018-03-15 15:35:44 -0600
commit561e5d48968be22fc71af6a0e13af6edae595dbe (patch)
tree7ea473cab206bf1ffbeadcb7de929e1ae58f8eb4 /drivers/infiniband/sw/rxe
parentRDMA/hns: Fix cqn type and init resp (diff)
downloadlinux-dev-561e5d48968be22fc71af6a0e13af6edae595dbe.tar.xz
linux-dev-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 'drivers/infiniband/sw/rxe')
0 files changed, 0 insertions, 0 deletions