[PATCH v4 1/2] asm-generic: Add memory barrier dma_mb()

Marco Elver elver at google.com
Fri Jun 17 03:18:41 PDT 2022


On Fri, 17 Jun 2022 at 01:13, Paul E. McKenney <paulmck at kernel.org> wrote:
>
> On Mon, May 23, 2022 at 01:35:27PM +0200, Marco Elver wrote:
> > On Mon, 23 May 2022 at 13:21, Kefeng Wang <wangkefeng.wang at huawei.com> wrote:
> > >
> > > The memory barrier dma_mb() is introduced by commit a76a37777f2c
> > > ("iommu/arm-smmu-v3: Ensure queue is read after updating prod pointer"),
> > > which is used to ensure that prior (both reads and writes) accesses
> > > to memory by a CPU are ordered w.r.t. a subsequent MMIO write.
> > >
> > > Reviewed-by: Arnd Bergmann <arnd at arndb.de> # for asm-generic
> > > Signed-off-by: Kefeng Wang <wangkefeng.wang at huawei.com>
> >
> > Reviewed-by: Marco Elver <elver at google.com>
>
> Just checking...  Did these ever get picked up?  It was suggested
> that they go up via the arm64 tree, if I remember correctly.

I don't see them in -next, and as far as I can tell, they're not in
the arm64 tree.

Thanks,
-- Marco



More information about the linux-arm-kernel mailing list