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

From: Marco Elver
Date: Fri Jun 17 2022 - 06:19:23 EST


On Fri, 17 Jun 2022 at 01:13, Paul E. McKenney <paulmck@xxxxxxxxxx> 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@xxxxxxxxxx> 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@xxxxxxxx> # for asm-generic
> > > Signed-off-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx>
> >
> > Reviewed-by: Marco Elver <elver@xxxxxxxxxx>
>
> 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