commit | 561e5d48968be22fc71af6a0e13af6edae595dbe | [log] [tgz] |
---|---|---|
author | Sinan Kaya <okaya@codeaurora.org> | Tue Mar 13 23:20:24 2018 -0400 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Thu Mar 15 15:35:44 2018 -0600 |
tree | 7ea473cab206bf1ffbeadcb7de929e1ae58f8eb4 | |
parent | 7b48221cf41a90cf4bfc36e6d699b7fa4169c970 [diff] |
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>