lkml.org 
[lkml]   [2018]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/7] RDMA/qedr: eliminate duplicate barriers on weakly-ordered archs
    On Tue, Mar 13, 2018 at 11:20:24PM -0400, Sinan Kaya wrote:
    > 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>
    > Acked-by: Jason Gunthorpe <jgg@mellanox.com>
    > drivers/infiniband/hw/qedr/verbs.c | 4 ++--
    > 1 file changed, 2 insertions(+), 2 deletions(-)

    Applied to RDMA for-next

    Thanks,
    Jason

    \
     
     \ /
      Last update: 2018-03-15 23:24    [W:4.277 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site