Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp1495715imb; Sat, 2 Mar 2019 18:28:35 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ8CUA+GIJmXd1rm8Y71of7P6ZcRN+X4Eq5uyQ+o9eQ5xNv5YKflqz7HLoYEhsdTKmzvuEY X-Received: by 2002:a62:f201:: with SMTP id m1mr13324626pfh.97.1551580115838; Sat, 02 Mar 2019 18:28:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551580115; cv=none; d=google.com; s=arc-20160816; b=uM+FZZKTOC3YDWNk6XLbP+l40m+n0bnDH4ElvK8h44VEd8SeaVnexZV6nQNzCM8Qb+ DWK60BwBU3F4EzstdXx4MaLT0bCycLDZLTLWaBnbLmXyL29v3cP43Bq+JAZ4oJi8wN3o pnlz5vZ4Qj2IhZ5y3fyRiifAPfPQwRY95EgmiF1cl0mygu4yOtuJEQRsmt9Jkgq+JN1L G0uyCAj4DRGEC306Rel5DOCOfhlP3Y2rB4AdZNGchGjtk5AU3o/pL6i3ZHluMXdLNUQ5 irhL3tvQYd6VyED6+7PlUyre3UQH1b5+HSc5xJ8sW8izKQPiE/lxNMr9TxtDuY2T9Jkp VKLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=iiITGj4XkaGGub/d7Ug1l1Bi8lGdm44D8AckuOPQOMo=; b=Txk+dgjF6vzmiqPxXDeyhvW7ESCpaKzB54NU2oxvLOGO6cIcPR2up8qlhU3/Ksyxx0 x9Mr6fLrpL5OHXOo32VurOvp0VEqCU6Qd46uOdMq7dycRfEUiQ/7eyKr83Gh4hiYCpXp Q0GtnI1gyJ8vL2MJfFbgQahbbbYWXpRv4U2ZraatIOThYgfJfAG7dqFApSSDcA1lzKO5 sR8ThVADJawTXyZGXRgG4nYgXgxfoPIV9r9arHr3mjKSh0EuJmHi24j7WTcPc729bTjS 9V0TeyTGM6VdMErDqFEt0cQOQdkUq95BRDQRAChBiDq1GmZVk0J7xgB+RB+/L5BPKmey A+8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=dB4OeNN3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w186si1903320pgd.460.2019.03.02.18.27.53; Sat, 02 Mar 2019 18:28:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=dB4OeNN3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726786AbfCCC1C (ORCPT + 99 others); Sat, 2 Mar 2019 21:27:02 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:40084 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725942AbfCCC1C (ORCPT ); Sat, 2 Mar 2019 21:27:02 -0500 Received: by mail-lf1-f68.google.com with SMTP id a8so1109198lfi.7 for ; Sat, 02 Mar 2019 18:27:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iiITGj4XkaGGub/d7Ug1l1Bi8lGdm44D8AckuOPQOMo=; b=dB4OeNN3+manUdRTA/60lSelHQ52ofnXbc4bwQfvy9zI/HGMe7krmTUFm11KWf8C+S 4lWKpoEBCxPEs/Rd4w+zKcPzVCdSI9mDE/ccCnUpBxI0RJExNif7L1tfxpqNvIo2pGmT fQuX/3Z+csNCLTW51GOUyhgQWE5XVogGfR4vU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iiITGj4XkaGGub/d7Ug1l1Bi8lGdm44D8AckuOPQOMo=; b=M4UDrApLubWMEU2SphSpzma0T1ZwQKsEhJiIpnF3K5pJjfwkeQNmrCJTcrsbHxS+eR XWOiNbw/zkQKQQ9HWDvTZ+CbY5GprfFgMle5Jz8XHmWaRZjcvbveWJnq4j4j8bTP4h89 qqpwryslF5qa0++jQyQflC2sdXmiSah2ckZqQTSecDtm2kgKQ7JsssahEGGcrC4lGo/l 4/YYZVthSrjizpmCSd0gKIDLnPAerGY6mckZlMfl6dQTUF0qZxPcvidVoUWJY5TYK/x/ vTNSVDIyU+rVJvunyScM5yaMx5MnUtyyJ9B2jiiplVdEBr0vfrfoVUsOl+tRpZXFyh2L KATw== X-Gm-Message-State: APjAAAWN5o/x5/GAbKVoe57D+SiSH85fwGnjQ7a3flzNV/3E9HLQ0Aej TIHRM3CJNhlwG1TZVDoN86AFzSBcPhQ= X-Received: by 2002:a19:384a:: with SMTP id d10mr6695797lfj.111.1551580019595; Sat, 02 Mar 2019 18:26:59 -0800 (PST) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com. [209.85.167.42]) by smtp.gmail.com with ESMTPSA id t12-v6sm570899ljd.47.2019.03.02.18.26.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Mar 2019 18:26:59 -0800 (PST) Received: by mail-lf1-f42.google.com with SMTP id f16so1100903lfk.12 for ; Sat, 02 Mar 2019 18:26:59 -0800 (PST) X-Received: by 2002:a19:c744:: with SMTP id x65mr6853470lff.148.1551579546740; Sat, 02 Mar 2019 18:19:06 -0800 (PST) MIME-Version: 1.0 References: <20190301140348.25175-1-will.deacon@arm.com> <20190301140348.25175-2-will.deacon@arm.com> <1551575210.6lwpiqtg5k.astroid@bobo.none> In-Reply-To: <1551575210.6lwpiqtg5k.astroid@bobo.none> From: Linus Torvalds Date: Sat, 2 Mar 2019 18:18:50 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 01/20] asm-generic/mmiowb: Add generic implementation of mmiowb() tracking To: Nicholas Piggin Cc: linux-arch , Will Deacon , Andrea Parri , Arnd Bergmann , Benjamin Herrenschmidt , Rich Felker , David Howells , Daniel Lustig , Linux List Kernel Mailing , "Maciej W. Rozycki" , Ingo Molnar , Michael Ellerman , Palmer Dabbelt , Paul Burton , "Paul E. McKenney" , Peter Zijlstra , Alan Stern , Tony Luck , Yoshinori Sato Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 2, 2019 at 5:43 PM Nicholas Piggin wrote: > > Is there a reason to call this "mmiowb"? We already have wmb that > orders cacheable stores vs mmio stores don't we? Sadly no it doesn't. Not on ia64, and people tried to make that the new rule because of the platform breakage on what some people thought would be a major platform. Plain wmb() was only guaranteed to order regular memory against each other (mostly useful for dma) on some of these platforms, because they had such broken IO synchronization. So mmiowb() is not a new name. It's been around for a while, and the people who wanted it have happily become irrelevant. Will is making it go away, but the name remains for historical reasons, even if Will's new acronym explanation for the name is much better ;) Linus