Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp1518980imb; Sat, 2 Mar 2019 19:37:16 -0800 (PST) X-Google-Smtp-Source: AHgI3IbWMdM1n7o/Hz86ySaJBmH6t5wNMQck4mjuxxpRbI6I+rou+MaUxrX5X6R6hMzF4RMHmU2q X-Received: by 2002:a62:e04b:: with SMTP id f72mr13775877pfh.41.1551584236408; Sat, 02 Mar 2019 19:37:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551584236; cv=none; d=google.com; s=arc-20160816; b=K3ecvSU2l+BejP02ipoeyfm+Ylms4S29EXJyO9T+5fUEvbransZlxlBW6S3Qf5VODH EHLKGY3WOrU+Zb7d/4M89QzoPoC312aFslBJ/jTyEM1dbpEsfOvGlygibwgA/689aksY RFkPBY4BhFVEq+X0M5JUDPxW1putTP+T7uNftVsCZlaVQQ4gGRfzXj9HL3T2NAZhzcn4 T63Vt/L7OI/89PYOlgIRc2h7QbgE7tOpbsythg090A2nzIv1jm1lgxlOez39+3mo/8+9 3nECJCfhDpZZcgOgsobXAL0duB1VTW7QWCfSohQc0sEFpzP2OB/ZwlVAI6qUUjPbagqo AyXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:message-id :user-agent:mime-version:in-reply-to:references:cc:to:subject:from :date:dkim-signature; bh=FiNLB4MSlMbU79uzU9NcVokWXT1msFREHso0/X4GZWo=; b=Ota7mmlYQUk6Azuux718BSNbiZYhsKdcWqPcia2n+uxE6tuX69C+XHFwZMUt2HdOBd WteOVX0c1iQu5bO4DTk2JSKOVGQi3AyrDhSesvMJGZsa1zHORR1KmrWvucOnaJ3TUhhj hv5XvAHhEgcwxcu70dpN6tHPli+T4sVzMzAaccqLAOF4i+ju1BFy33HTys8EPdE/5wNI I9pLsYKuRqiHnZSUKYNzXfEyFc1coJf3wRSuN0i5hRAHLGRhBor2+uAXSm2HWznPMENp IYvzIVk5X6ZnfbBGGl5ExzPVqru36U9S52KR0FnhicOZ9UEXRetIeJLd5/FmMUXZ1KPs ykrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=F1bjee5r; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v2si1938467pfe.117.2019.03.02.19.36.33; Sat, 02 Mar 2019 19:37:16 -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=@gmail.com header.s=20161025 header.b=F1bjee5r; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726318AbfCCDep (ORCPT + 99 others); Sat, 2 Mar 2019 22:34:45 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:42250 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726117AbfCCDeo (ORCPT ); Sat, 2 Mar 2019 22:34:44 -0500 Received: by mail-pl1-f196.google.com with SMTP id v11so865139plg.9; Sat, 02 Mar 2019 19:34:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:subject:to:cc:references:in-reply-to:mime-version :user-agent:message-id:content-transfer-encoding; bh=FiNLB4MSlMbU79uzU9NcVokWXT1msFREHso0/X4GZWo=; b=F1bjee5rNg7+aEt7hCX1oRiY9hhRov9XEXL1ka/uFLIVc05VnQuHboL31xbGviJUjb 9xtmZpNQ/5F5lVdFMPbHZmxfDQnTkHp1YlSIwKQgVXbMtLyG+blRJaWWode5ULMsEU4f qdNf3To7Kudziu2I971u9geGVphyuj2Gd4EMvsW7eZrsIIMn1M0wG6UHZmKxI1CTDLDa 6+25muWvV12/6tqrA1fvItrKB0HnBs10GqTq2hLAhEq7RFaaATien/01qZLdCYK0cj1O PXJkQMzhbvQ7S0sGtS+J0tWGq5kjebJjoo9rnB+ya5c5HXPnNtdw4/GEJ5FzlnEPkFM3 MxQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:cc:references:in-reply-to :mime-version:user-agent:message-id:content-transfer-encoding; bh=FiNLB4MSlMbU79uzU9NcVokWXT1msFREHso0/X4GZWo=; b=OovoT1/kVy8j++8SGdbX/e+rHiub387anigv/g7tWiPrclzDcXLHeUFGFPCd4ZBZEB GLIaZ/TDc3Sys/upbYD/RPMok/ePAu0cdd+c/QJZbXULkro1hZlv4aFHKqy3vHNrgzrx nln1uHVVSFGcFlPpJyHfl8ERJ8Lr4EOsozVutQNZIKyQ0XRmN1/jNOIDub060nmC35sP uIx8YLAoAV9RB55gQ4RvIT5JMMB+oQhdK9nY3pq0ahLGOMyAPdHsfNpP907DVL3Njl6R mLuGUwgqQ0BPcx6qq01GbE3585nrXMZ7DAtDt36Usk/iRpjPjytYRiRTP7aXx5UrGLTG rBBQ== X-Gm-Message-State: APjAAAW9hVi8hQHmbzqBTdyTceqC1Naqrzug4wyhH9grF/6rAfhokWhb 7XbZam6SXII1kJnDE36Vp9Q= X-Received: by 2002:a17:902:9307:: with SMTP id bc7mr13459270plb.234.1551584083735; Sat, 02 Mar 2019 19:34:43 -0800 (PST) Received: from localhost (193-116-74-175.tpgi.com.au. [193.116.74.175]) by smtp.gmail.com with ESMTPSA id u28sm3571864pgn.32.2019.03.02.19.34.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 02 Mar 2019 19:34:42 -0800 (PST) Date: Sun, 03 Mar 2019 13:34:36 +1000 From: Nicholas Piggin Subject: Re: [PATCH 01/20] asm-generic/mmiowb: Add generic implementation of mmiowb() tracking To: Linus Torvalds Cc: Andrea Parri , Arnd Bergmann , Benjamin Herrenschmidt , Rich Felker , David Howells , Daniel Lustig , linux-arch , Linux List Kernel Mailing , "Maciej W. Rozycki" , Ingo Molnar , Michael Ellerman , Palmer Dabbelt , Paul Burton , "Paul E. McKenney" , Peter Zijlstra , Alan Stern , Tony Luck , Will Deacon , Yoshinori Sato References: <20190301140348.25175-1-will.deacon@arm.com> <20190301140348.25175-2-will.deacon@arm.com> <1551575210.6lwpiqtg5k.astroid@bobo.none> In-Reply-To: MIME-Version: 1.0 User-Agent: astroid/0.14.0 (https://github.com/astroidmail/astroid) Message-Id: <1551583190.duzqnmfnvg.astroid@bobo.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds's on March 3, 2019 12:18 pm: > 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? >=20 > 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. Let me try this again, because I was babbling a train of thought=20 continuing from my past mails on the subject. Kill mmiowb with fire. It was added for a niche platform that hasn't been produced for 10 years for a CPU ISA that is no longer being developed. Let's make mb/wmb great again (aka actually possible for normal people to understand). If something comes along again that reorders mmios from different CPUs=20 in the IO controller like the Altix did, they implement wmb the slow and=20 correct way. They can add a new faster primitive for the few devices=20 they care about in the couple of perf critical places that matter. It doesn't have to be done all at once with this series, obviously this=20 is a big improvement on its own. But why perpetuate the nomenclature and concept for new code added now?=20 Thanks, Nick =