Re: RFC on writel and writel_relaxed
From: Sinan Kaya <hidden>
Date: 2018-03-27 13:46:56
Also in:
linux-rdma
From: Sinan Kaya <hidden>
Date: 2018-03-27 13:46:56
Also in:
linux-rdma
On 3/27/2018 7:02 AM, Will Deacon wrote:
- See Documentation/DMA-API.txt for more information on consistent memory. + can see it now has ownership. Note that, when using writel(), a prior + wmb() is not needed to guarantee that the cache coherent memory writes + have completed before writing to the MMIO region. The cheaper + writel_relaxed() does not provide this guarantee and must not be used + here.
Can we say the same thing for iowrite32() and iowrite32be(). I also see wmb() in front of these. -- Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.