Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1954012iog; Sun, 19 Jun 2022 03:24:54 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uY5S5fA0R5anapMBf97nCt+eTfC0H+nbVA2nItPSaO+Er0fR+xj1Q+UX0oalT0iCBp+dte X-Received: by 2002:a17:906:2088:b0:711:f512:837a with SMTP id 8-20020a170906208800b00711f512837amr16663435ejq.113.1655634293846; Sun, 19 Jun 2022 03:24:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655634293; cv=none; d=google.com; s=arc-20160816; b=zL23hSc+nXRPssYJzx8YxP2ErLqWRytwqAI2iapbnL7H7+j+USNSETBEKlUuS/jq8P O8jOSskQlhWAQNarO5fxiLZ6JYbGF6Hqw4ZIe2RfoUB05smCTVUauTpKd75dAYmEiQ1J HNKY6pg7NFe2gvq1GX5gRvxrw+eY6coviBYZNnpda1C1WzDVtyqp4teHDqKY4DsnAxKS nm42B1nhQHjWxytDoKat8sQ1092WPaE632/tbqwCuR+xgcPvzU2t7ncHjo8bYe6m5Po7 TpuEjcjmou89YMSdiMjNyAKcOXneSJa4bQtDbpp2bYaESck01/xHcAjXjeEfZOw1R6k+ J4KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=3amFtRLpWm18MBDEl4sYL21bmYNH/16iaAac4Si5T5w=; b=KRmvHNq9b8SbmYMLFl7GU5AmL2yJdKjToMjYqbtzCfj4cRjcuqu8BUbs2DwA4TsMu5 fu+ZsuloiRhXN8IcgYQY0E2cL9iI86oHfz4Sjrz3lMs3QPZfaoxImO9f8h98V4AHnHQG jVBAyT0xBr+DhU2VZhbJF26XPn2XPF57XM4xtHwwbz9tupr2I/RQJuDrJnUKE5ilOEd7 6ioAymb+KBr1NS6TsWK5iiRv14KPt42+uBK/wb8PIeB/pwquxuNGqYxsfsBVSBb2h2PR +12YWuB5VDUJ4P88scGmtu79SzOzYHKqkknKRgpWEXgti5XCTIRwakM/0JEwlsTvC5EN MJBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb29-20020a1709077e9d00b006f3d2558d4bsi10874527ejc.496.2022.06.19.03.23.56; Sun, 19 Jun 2022 03:24:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231214AbiFSJph (ORCPT + 99 others); Sun, 19 Jun 2022 05:45:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229816AbiFSJpc (ORCPT ); Sun, 19 Jun 2022 05:45:32 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E80F3A453; Sun, 19 Jun 2022 02:45:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9EC64B80CFE; Sun, 19 Jun 2022 09:45:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A049C34114; Sun, 19 Jun 2022 09:45:25 +0000 (UTC) Date: Sun, 19 Jun 2022 10:45:22 +0100 From: Catalin Marinas To: Marco Elver Cc: paulmck@kernel.org, Kefeng Wang , will@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, mark.rutland@arm.com, Jonathan Corbet , linux-doc@vger.kernel.org, arnd@arndb.de, Peter Zijlstra Subject: Re: [PATCH v4 1/2] asm-generic: Add memory barrier dma_mb() Message-ID: References: <20220523113126.171714-1-wangkefeng.wang@huawei.com> <20220523113126.171714-2-wangkefeng.wang@huawei.com> <20220616231350.GA1790663@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 17, 2022 at 12:18:41PM +0200, Marco Elver wrote: > On Fri, 17 Jun 2022 at 01:13, Paul E. McKenney wrote: > > On Mon, May 23, 2022 at 01:35:27PM +0200, Marco Elver wrote: > > > On Mon, 23 May 2022 at 13:21, Kefeng Wang 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 # for asm-generic > > > > Signed-off-by: Kefeng Wang > > > > > > Reviewed-by: Marco Elver > > > > 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. Since v4 was posted during the merging window, it hasn't been queued for 5.19-rc1. I normally only merge patches with a Fixes tag during the -rc period (though there are some exceptions). Mark commented in v1 that such tag isn't necessary, so I thought I'd leave it for the 5.20 merging window. That said, the diffstat is small, so if it helps having this in 5.19, I can queue it for -rc4. -- Catalin