Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp4207182imj; Tue, 12 Feb 2019 11:39:21 -0800 (PST) X-Google-Smtp-Source: AHgI3IatQlEF6R8oaRc6nlNMeu0S0scKbTM9oZNFYpN2/CWQe/hl9e5ptOCUaRueuRTpi/TJOB8p X-Received: by 2002:a62:5910:: with SMTP id n16mr5467288pfb.128.1550000360985; Tue, 12 Feb 2019 11:39:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550000360; cv=none; d=google.com; s=arc-20160816; b=g4ZXUZI6aTXCaekY3pOy3UMTQ5Cs64mV/xmtF/0+KNVvuwiMrMWvp8qurK6Ch7Kzuj /K/saEDuTCZaTdeUYalhiRAtMZ3akLIIdBM1oXulcJwrcbQKAZlr+PLHdGwHiKggvkx+ yVVMfJyDAGsMePMfMp/v2o3sRktmhD0TljdZ9lkhexhWELzr6QWmRLXAJvMJUKcrJrIf 0VT3A50CYKR1CjnWa6twUc8P8E4o/qSv/ZW0tlraK6D/3CHMgy58TWwVGgFIKR1viXic oLDK2HKC/UTo+Hav78UbSm9TM1Jiwcn2ySziMfZOewb76YRvg0BkRHhehT5bCGqqtwx+ E0+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=KnQin2dafomUpDqcMj4v5HmAoDu9E9sppCc1jYm6ddc=; b=LBofTSg8quNT5GvgDnKde9lHNNiNg1qN87TipDfCnycAt/8+oIzKI1p1qoiFjzO6cG b/ZVWh4ffPTPxnGOsWoKKmwhgJneqCsSaNu4fR50xF7rSw3dW2nXyT9MNyq3PIrTOSN/ QTO8eOT6V4r4ZH0KFHqF5Q7mUb/bACtc0Hv+XV0bdKOQqXHI84T+5w5DqUQCQJsIdcpZ D1QaNufAn8ERSOaoXaoEXRaX/PxenB+hxDrUB46hf82fAyiq4nD7CErRgR2kgQcLMqsK 0UdXB93d5K3WhdIL0Mk9U14pOiEeE+VQvi403xA94W3QA0/wR99Z7RNWP83cKNXhmqFX D4QA== ARC-Authentication-Results: i=1; mx.google.com; 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 x12si13232198plv.4.2019.02.12.11.39.03; Tue, 12 Feb 2019 11:39:20 -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; 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 S1732015AbfBLSoA (ORCPT + 99 others); Tue, 12 Feb 2019 13:44:00 -0500 Received: from foss.arm.com ([217.140.101.70]:42070 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727303AbfBLSn7 (ORCPT ); Tue, 12 Feb 2019 13:43:59 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 55107A78; Tue, 12 Feb 2019 10:43:59 -0800 (PST) Received: from fuggles.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 641D93F575; Tue, 12 Feb 2019 10:43:57 -0800 (PST) Date: Tue, 12 Feb 2019 18:43:54 +0000 From: Will Deacon To: "Paul E. McKenney" Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Benjamin Herrenschmidt , Arnd Bergmann , Peter Zijlstra , Andrea Parri , Daniel Lustig , David Howells , Alan Stern , Linus Torvalds Subject: Re: [RFC PATCH] docs/memory-barriers.txt: Rewrite "KERNEL I/O BARRIER EFFECTS" section Message-ID: <20190212184354.GC20961@fuggles.cambridge.arm.com> References: <20190211172948.3322-1-will.deacon@arm.com> <20190211202218.GQ4240@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190211202218.GQ4240@linux.ibm.com> User-Agent: Mutt/1.11.1+86 (6f28e57d73f2) () Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 11, 2019 at 12:22:18PM -0800, Paul E. McKenney wrote: > On Mon, Feb 11, 2019 at 05:29:48PM +0000, Will Deacon wrote: > > The "KERNEL I/O BARRIER EFFECTS" section of memory-barriers.txt is vague, > > x86-centric, out-of-date, incomplete and demonstrably incorrect in places. > > This is largely because I/O ordering is a horrible can of worms, but also > > because the document has stagnated as our understanding has evolved. > > > > Attempt to address some of that, by rewriting the section based on > > recent(-ish) discussions with Arnd, BenH and others. Maybe one day we'll > > find a way to formalise this stuff, but for now let's at least try to > > make the English easier to understand. > > > > Cc: "Paul E. McKenney" > > Cc: Benjamin Herrenschmidt > > Cc: Arnd Bergmann > > Cc: Peter Zijlstra > > Cc: Andrea Parri > > Cc: Daniel Lustig > > Cc: David Howells > > Cc: Alan Stern > > cc: Linus Torvalds > > Signed-off-by: Will Deacon > > Hello, Will, > > The intent is to replace commit 3f305018dcf3 ("docs/memory-barriers.txt: > Enforce heavy ordering for port I/O accesses"), correct? Either way is > fine, just guessing based on the conflicts when applying this one. ;-) Yup, I decided to abandon the old patch: http://lkml.kernel.org/r/20190211153043.GC32385@fuggles.cambridge.arm.com Thanks, Will