From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F2238C433EF for ; Sun, 19 Jun 2022 09:46:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0fnCfrsUbffBTBaZxY6jcrs+mXcXugv0jbfwFWp4Dbg=; b=wTVAZ4ChdQ9tVi mpm8Jqjg6h4HWjxfTEt9ir7qh/f7CdLuvJTwKYQ5HiQcIaEg+LrOT4WPBxZLNSokrU7eJa4JB3RTj yI7NQQQJdS+8lnMB44oeSb7Q3X9Pq+QxxMAD5C/B1dPHPThChalGqw1RRhgrjlX44xXjw2cp/nJbt P7VhxyPyL2oaxjVsExfIyZp+5J09Q1IhKJKDRanldXKC94J+Z36PHbh+7q9hHGkokPARCyvi4jLq3 wamyaUgjzES0eHiK1EXJReAaUYYClSWqOdTYK5zAkfv4YsPS7B1rq9hK9FI2WbqxzHm0ZYPYjW8AL McCzykzlGAZEm02i8tEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o2rUs-00DlzD-Qc; Sun, 19 Jun 2022 09:45:34 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o2rUo-00Dlxm-JO for linux-arm-kernel@lists.infradead.org; Sun, 19 Jun 2022 09:45:32 +0000 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 dfw.source.kernel.org (Postfix) with ESMTPS id E277260FD4; Sun, 19 Jun 2022 09:45:28 +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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220619_024530_716494_E62CF124 X-CRM114-Status: GOOD ( 21.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel